Skip to content

Commit 81f17dd

Browse files
Settings app: make "Cancel" button more "ghosty" to discourage accidental misclicks
1 parent f72b300 commit 81f17dd

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- About app: show MicroPythonOS logo at the top
44
- AppStore app: fix BadgeHub backend handling
55
- OSUpdate app: eliminate requests library
6+
- Settings app: make "Cancel" button more "ghosty" to discourage accidental misclicks
67
- Remove dependency on micropython-esp32-ota library
78
- Remove dependency on traceback library
89
- Show new MicroPythonOS logo at boot

internal_filesystem/lib/mpos/ui/camera_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def add_buttons(self, parent):
257257

258258
cancel_button = lv.button(button_cont)
259259
cancel_button.set_size(DisplayMetrics.pct_of_width(25), lv.SIZE_CONTENT)
260+
cancel_button.set_style_opa(lv.OPA._70, lv.PART.MAIN)
260261
if self.scanqr_mode:
261262
cancel_button.align(lv.ALIGN.BOTTOM_MID, DisplayMetrics.pct_of_width(10), 0)
262263
else:

internal_filesystem/lib/mpos/ui/setting_activity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def onCreate(self):
104104
# Cancel button
105105
cancel_btn = lv.button(btn_cont)
106106
cancel_btn.set_size(lv.pct(45), lv.SIZE_CONTENT)
107+
cancel_btn.set_style_opa(lv.OPA._70, lv.PART.MAIN)
107108
cancel_label = lv.label(cancel_btn)
108109
cancel_label.set_text("Cancel")
109110
cancel_label.center()

0 commit comments

Comments
 (0)