One pixel more

This commit is contained in:
Thomas Farstrike
2025-04-23 13:40:39 +02:00
parent f2e39e1871
commit 6661160609
+1 -1
View File
@@ -104,7 +104,7 @@ def handle_gesture(pin):
close_drawer()
start_y = None # Clear start_y after gesture
elif gesture_id == 0x03: # Swipe down
if start_y is not None and start_y < NOTIFICATION_BAR_HEIGHT:
if start_y is not None and start_y <= NOTIFICATION_BAR_HEIGHT:
# print("Swipe Down Detected from Notification Bar")
open_drawer()
start_y = None # Clear start_y after gesture