diff --git a/src/assets/stylesheets/shared.scss b/src/assets/stylesheets/shared.scss index d44b6b31916977101aea39ee8824cee35e388559..0d706457ffac96c9d7ae6620792c9243ddb1eba3 100644 --- a/src/assets/stylesheets/shared.scss +++ b/src/assets/stylesheets/shared.scss @@ -155,10 +155,11 @@ $spoke-action-color: $bright-blue; -webkit-appearance: none; width: 2em; height: 2em; - border: 3px solid #aaa; + border: 1px solid #e2e2e2; + background-color: white; border-radius: 6px; vertical-align: sub; - margin: 0 0.6em + margin: 0 0.7em } %checkbox-checked { diff --git a/src/components/freeze-controller.js b/src/components/freeze-controller.js index c4e0f527f9941cf1a2c2b0568fdf8b1a8ebbac61..db434dec0f6bf42ec7bd5ff1bb0496de24d2ba65 100644 --- a/src/components/freeze-controller.js +++ b/src/components/freeze-controller.js @@ -24,8 +24,8 @@ AFRAME.registerComponent("freeze-controller", { tick: function() { const userinput = AFRAME.scenes[0].systems.userinput; - const ensureFrozen = userinput.readFrameValueAtPath(paths.actions.ensureFrozen); - const thaw = userinput.readFrameValueAtPath(paths.actions.thaw); + const ensureFrozen = userinput.frame[paths.actions.ensureFrozen]; + const thaw = userinput.frame[paths.actions.thaw]; const toggleFreezeDueToInput = (this.el.is("frozen") && thaw) || (!this.el.is("frozen") && ensureFrozen);