Browse Source

fix: colorpicker BLIND not working !

micha 1 year ago
parent
commit
099999f0cd
2 changed files with 4 additions and 1 deletions
  1. 2 1
      _LibreLightDesk.py
  2. 2 0
      tkgui/draw.py

+ 2 - 1
_LibreLightDesk.py

@@ -2604,7 +2604,8 @@ class MASTER():
 
     def jclient_send(self,data):
         # namespace wraper
-        jclient_send(data)
+        if not modes.val("BLIND"):
+            jclient_send(data)
 
     def button_refresh(self,name,color,color2=None,text="",fg=None):
         cprint("button_refresh",name,color)

+ 2 - 0
tkgui/draw.py

@@ -299,6 +299,8 @@ def draw_colorpicker(gui,xframe,data):
                 jdata.extend(rb)
                 jdata.extend(rw)
                 jdata.extend(ra)
+                
+                print("# blind ???")
                 master.jclient_send(jdata)
                 master.refresh_fix()