Add butttons for vertical scrollbars fixes

Co-authored-by: alfrix <alfredomonclus@gmail.com>
This commit is contained in:
Vasilyev81
2023-06-14 11:22:29 -07:00
committed by Alfredo Monclus
parent dcad47bb51
commit 65c4b172e8
5 changed files with 27 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ class KlipperScreenConfig:
bools = (
'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop',
'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard',
'show_heater_power'
'show_heater_power', "show_scroll_steppers",
)
strs = (
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
@@ -278,6 +278,8 @@ class KlipperScreenConfig:
"value": "True"}},
{"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary",
"value": "False", "callback": screen.reload_panels}},
{"show_scroll_steppers": {"section": "main", "name": _("Show Scrollbars Buttons"), "type": "binary",
"value": "False", "callback": screen.reload_panels}},
# {"": {"section": "main", "name": _(""), "type": ""}}
]