From 6661160609dd54b3759621fe73140421a2d84666 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 23 Apr 2025 13:40:39 +0200 Subject: [PATCH] One pixel more --- boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.py b/boot.py index 5ab9af79..d8ccc8e9 100644 --- a/boot.py +++ b/boot.py @@ -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