Skip to content

Commit

Permalink
Replace remaining ndla-virtual-tour remnants
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Jul 11, 2024
1 parent f687e9e commit c5f17da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/h5p/h5p-three-image.git"
"url": "git+https://github.com/ndlano/h5p-escape-room.git"
},
"author": "Joubel AS <[email protected]> (https://joubel.com)",
"license": "MIT",
Expand All @@ -20,9 +20,9 @@
"Thomas Marstrander <[email protected]> (https://github.com/thomasmars)"
],
"bugs": {
"url": "https://github.com/h5p/h5p-three-image/issues"
"url": "https://github.com/ndlano/h5p-escape-room/issues"
},
"homepage": "https://github.com/h5p/h5p-three-image#readme",
"homepage": "https://github.com/ndlano/h5p-escape-room#readme",
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.1",
Expand Down
2 changes: 1 addition & 1 deletion scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Wrapper extends H5P.EventDispatcher {
* @param {object} [extras] Saved state, metadata, etc.
*/
constructor(params, contentId, extras = {}) {
super('ndla-virtual-tour');
super('escape-room');

this.params = sanitizeContentTypeParameters(params);

Expand Down
8 changes: 4 additions & 4 deletions scripts/components/Main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
font-style: normal;
}

.h5p-three-image.h5p-fullscreen {
.h5p-escape-room.h5p-fullscreen {
display: block;
background-color: black;

Expand All @@ -22,16 +22,16 @@
}
}

.h5p-three-image [tabIndex="-1"] {
.h5p-escape-room [tabIndex="-1"] {
outline: none;
}

.h5p-editor-three-image-wrapper .h5p-editing-overlay {
.h5p-editor-escape-room-wrapper .h5p-editing-overlay {
z-index: 4;
}

/* Hide overflow of static image in scene container when zooming in */
.h5p-editor-three-image-wrapper .h5p-three-image.scene-container {
.h5p-editor-escape-room-wrapper .h5p-escape-room.scene-container {
overflow: hidden;
}

Expand Down

0 comments on commit c5f17da

Please sign in to comment.