Skip to content

Commit 58157bc

Browse files
Comments
1 parent 74c1666 commit 58157bc

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

internal_filesystem/lib/mpos/content/package_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def refresh_apps(cls):
9999
apps_dir = "apps"
100100
apps_dir_builtin = "builtin/apps"
101101

102-
for base in (apps_dir, apps_dir_builtin):
102+
for base in (apps_dir, apps_dir_builtin): # added apps override builtin apps
103103
try:
104104
# ---- does the directory exist? --------------------------------
105105
st = os.stat(base)

internal_filesystem/lib/mpos/ui/focus_direction.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@ def move_focus_direction(angle):
198198
if isinstance(current_focused, lv.keyboard):
199199
print("focus is on a keyboard, which has its own move_focus_direction: NOT moving")
200200
return
201+
if False and isinstance(current_focused, lv.checkbox): # arrow up/down or left/right is the toggle
202+
print("focus is on a checkbox, which has its own move_focus_direction: NOT moving")
203+
return
204+
if False and isinstance(current_focused, lv.slider): # arrows change the slider
205+
print("focus is on a slider, which has its own move_focus_direction: NOT moving")
206+
return
201207
if isinstance(current_focused, lv.dropdown) and current_focused.is_open():
202208
print("focus is on an open dropdown, which has its own move_focus_direction: NOT moving")
203209
return

internal_filesystem/lib/mpos/ui/topmenu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def poweroff_cb(e):
334334
#wake_pin = machine.Pin(0, machine.Pin.IN, machine.Pin.PULL_UP) # Pull-up enabled, active low
335335
#import esp32
336336
#esp32.wake_on_ext0(pin=wake_pin, level=esp32.WAKEUP_ALL_LOW)
337-
print("Entering deep sleep. Press BOOT button to wake up.")
337+
print("Entering deep sleep...")
338338
machine.deepsleep() # sleep forever
339339
else: # assume unix:
340340
lv.deinit() # Deinitialize LVGL (if supported)

0 commit comments

Comments
 (0)