diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-01-04 10:43:40 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-01-04 10:43:40 +1100 |
| commit | 42a98a3799bdfb328c5b5683bbf3d77046f1f5f8 (patch) | |
| tree | 788c66d3d645d8a23b32acbe3ffe8e10f054cd1a | |
| parent | 44e6aee722aedf3b642228f51c8f853b302ae94e (diff) | |
| download | tangara-fw-42a98a3799bdfb328c5b5683bbf3d77046f1f5f8.tar.gz | |
disable group wrapping by default
| -rw-r--r-- | src/ui/screen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/screen.cpp b/src/ui/screen.cpp index 7cc37680..0b0f7914 100644 --- a/src/ui/screen.cpp +++ b/src/ui/screen.cpp @@ -32,6 +32,10 @@ Screen::Screen() lv_obj_set_style_bg_opa(modal_content_, LV_OPA_TRANSP, 0); lv_obj_set_style_bg_color(modal_content_, lv_color_black(), 0); + + // Disable wrapping by default, since it's confusing and generally makes it + // harder to navigate quickly. + lv_group_set_wrap(group_, false); } Screen::~Screen() { |
