Skip to content
Snippets Groups Projects
Commit 74818739 authored by Greg Fodor's avatar Greg Fodor
Browse files

Fix for input and update checkbox styling

parent e45ab21d
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment