#4395, #4701, #1336 - Added the ability to invert the scroll wheel when zooming

This commit is contained in:
enricoturri1966 2020-11-02 13:08:13 +01:00
parent 516db43b20
commit 9dbc0c6ba2
3 changed files with 16 additions and 2 deletions

View file

@ -104,6 +104,9 @@ void AppConfig::set_defaults()
if (get("use_free_camera").empty())
set("use_free_camera", "0");
if (get("reverse_mouse_wheel_zoom").empty())
set("reverse_mouse_wheel_zoom", "0");
#endif // !ENABLE_GCODE_VIEWER
#if ENABLE_ENVIRONMENT_MAP
@ -124,6 +127,9 @@ void AppConfig::set_defaults()
if (get("use_free_camera").empty())
set("use_free_camera", "0");
if (get("reverse_mouse_wheel_zoom").empty())
set("reverse_mouse_wheel_zoom", "0");
#endif // ENABLE_GCODE_VIEWER
if (get("show_splash_screen").empty())