diff --git a/src/room.html b/src/room.html index f15a15318bca95b8d4e8444b81ac19566fe542bd..af03d72c7b64e0b677cfd79a7073e0fb1ee4d472 100644 --- a/src/room.html +++ b/src/room.html @@ -214,7 +214,7 @@ app-mode-toggle-playing__teleport-controls="mode: hud; invert: true;" app-mode-toggle-playing__raycaster="mode: hud;" app-mode-toggle-playing__cursor="mode: hud;" - app-mode-toggle-property__line="mode: hud; property: visible;" + app-mode-toggle-attribute__line="mode: hud; property: visible;" ></a-entity> <a-gltf-entity src="#bot-skinned-mesh" inflate="true" ik-controller > diff --git a/src/systems/app-mode.js b/src/systems/app-mode.js index ed76df1b3c1bd424a803b5d7142f91ca1b23a5f8..4ef001d198811dac1e53aff0e720b51580e13767 100644 --- a/src/systems/app-mode.js +++ b/src/systems/app-mode.js @@ -45,7 +45,7 @@ AFRAME.registerComponent("app-mode-toggle-playing", { /** * Toggle a boolean property of a component based on app mode */ -AFRAME.registerComponent("app-mode-toggle-property", { +AFRAME.registerComponent("app-mode-toggle-attribute", { multiple: true, schema: { mode: { type: "string" },