Proper flag

This commit is contained in:
Thomas Farstrike
2025-04-23 22:51:39 +02:00
parent ed839d0620
commit b5159ea924
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ print("App2 running")
should_continue = True
canary = lv.obj(subwindow)
canary.add_flag(0x0001) # LV_OBJ_FLAG_HIDDEN is 0x0001 (don't know why I can't find it!)
canary.add_flag(lv.obj.FLAG.HIDDEN)
def app2_thread():
count=0
+1 -1
View File
@@ -10,7 +10,7 @@ spinner_count = 0
metrics_label = None
canary = lv.obj(subwindow)
canary.add_flag(0x0001) # LV_OBJ_FLAG_HIDDEN is 0x0001
canary.add_flag(lv.obj.FLAG.HIDDEN)
def add_spinner_and_update():
global spinner_count, metrics_label
+1 -1
View File
@@ -78,7 +78,7 @@ results = []
n = 1
canary = lv.obj(subwindow)
canary.add_flag(0x0001) # LV_OBJ_FLAG_HIDDEN is 0x0001
canary.add_flag(lv.obj.FLAG.HIDDEN)
while canary.get_class():
buffer_size = 2 ** n