From 7481873924f454a661404913051fa15df524d694 Mon Sep 17 00:00:00 2001
From: Greg Fodor <gfodor@gmail.com>
Date: Thu, 1 Nov 2018 04:09:53 +0000
Subject: [PATCH] Fix for input and update checkbox styling

---
 src/assets/stylesheets/shared.scss  | 5 +++--
 src/components/freeze-controller.js | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/assets/stylesheets/shared.scss b/src/assets/stylesheets/shared.scss
index d44b6b319..0d706457f 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 c4e0f527f..db434dec0 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);
 
-- 
GitLab