summaryrefslogtreecommitdiff
path: root/src/ui/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/screen.cpp')
-rw-r--r--src/ui/screen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/screen.cpp b/src/ui/screen.cpp
index bacce3f9..a39aaf7e 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_opa(alert_, LV_OPA_TRANSP, 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);