fix(color): Allow scrolling of the version info popup with rotary encoder (#3987)

This commit is contained in:
philmoz
2023-09-23 14:57:44 +10:00
committed by GitHub
parent 60ccd852e3
commit 8778856d26
+7 -1
View File
@@ -100,7 +100,13 @@ class VersionDialog : public Dialog
// define form
auto form = &content->form;
form->setFlexLayout();
auto g = lv_group_get_default();
lv_group_set_editing(g, true);
lv_obj_add_flag(form->getLvObj(), LV_OBJ_FLAG_SCROLLABLE);
lv_group_add_obj(g, form->getLvObj());
// headline "Internal module"
new StaticText(form, rect_t{}, STR_INTERNAL_MODULE, 0, COLOR_THEME_PRIMARY1);