gui: reverse mouse zoom option (#4668) (#4677)

* gui: reverse mouse zoom option (#4668)

Add configuration entry for reverse mouse zoom option
Define SUPPORT_REVERSE_MOUSE_ZOOM macro to enable feature code.

* remove SUPPORT_REVERSE_MOUSE_ZOOM macro

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Dima BuzdykandSoftFever authored and GitHub committed 2024-04-04 21:52:07 +08:00
1 parent ff7faca943
commit 14fc48ffbd
3 files changed
+3 -7

No files matched your search

-2
View File
@@ -176,10 +176,8 @@ void AppConfig::set_defaults()
if (get("camera_navigation_style").empty())
set("camera_navigation_style", "0");
#ifdef SUPPORT_REVERSE_MOUSE_ZOOM
if (get("reverse_mouse_wheel_zoom").empty())
set_bool("reverse_mouse_wheel_zoom", false);
#endif
if (get("zoom_to_mouse").empty())
set_bool("zoom_to_mouse", false);