You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
One pixel more
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user