From 5cc8e0a8ed605a15b95b707b9d1b805f32271e3f Mon Sep 17 00:00:00 2001
From: Jakob Stendahl <jakobste@uio.no>
Date: Sun, 3 Oct 2021 16:44:59 +0200
Subject: :building_construction: Use UNIX socket for IPC instead of stdin/out

---
 src_frontend/Components/MainControls/ControlComponents.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src_frontend/Components/MainControls/ControlComponents.svelte')

diff --git a/src_frontend/Components/MainControls/ControlComponents.svelte b/src_frontend/Components/MainControls/ControlComponents.svelte
index 5f6d165..65bd1c4 100644
--- a/src_frontend/Components/MainControls/ControlComponents.svelte
+++ b/src_frontend/Components/MainControls/ControlComponents.svelte
@@ -45,7 +45,7 @@
         }
         name = name.replace("variable/", "");
 
-        switch (value.var_type) {
+        switch (value.type) {
             case "COLOR":
                 if (value.value == null) {
                     delete colorVariables[name];
-- 
cgit v1.2.3

