diff options
| author | Nano <nanocodebug@gmail.com> | 2024-03-17 20:16:31 -0700 |
|---|---|---|
| committer | Nano <nanocodebug@gmail.com> | 2024-03-17 20:16:31 -0700 |
| commit | c4238173345ae65b69535c21b282448d5f012d43 (patch) | |
| tree | 4b8f707f22481af0402c4e7e4659cb04aaf7ea75 /src/ui/screen.cpp | |
| parent | 1ea25ab9d3bc9d7ad85bccd3a3c9e4f56c71a80f (diff) | |
| download | tangara-fw-c4238173345ae65b69535c21b282448d5f012d43.tar.gz | |
fixes for my green-tab adafruit ST7735R
Diffstat (limited to 'src/ui/screen.cpp')
| -rw-r--r-- | src/ui/screen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/screen.cpp b/src/ui/screen.cpp index 3e4f8e42..aafc982c 100644 --- a/src/ui/screen.cpp +++ b/src/ui/screen.cpp @@ -35,6 +35,9 @@ 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); + lv_obj_set_scrollbar_mode(root_, LV_SCROLLBAR_MODE_OFF); + lv_obj_set_scrollbar_mode(content_, LV_SCROLLBAR_MODE_OFF); + // Disable wrapping by default, since it's confusing and generally makes it // harder to navigate quickly. lv_group_set_wrap(group_, false); |
