freeplane / freeplane

Application for Mind Mapping, Knowledge Management, Project Management. Develop, organize and communicate your ideas and knowledge in the most effective way.
https://www.freeplane.org
GNU General Public License v2.0
2.64k stars 358 forks source link

Smaller Zoom In/Out Steps for Ctrl+Scroll #1673

Closed dpolivaev closed 4 months ago

dpolivaev commented 9 months ago

Discussed in https://github.com/freeplane/freeplane/discussions/1670

Originally posted by **Foxxsayy** January 31, 2024 ### The Issue this solves: Most mice default to scrolling 3 lines at a time, because 1 line at a time is too slow for most things. Freeplane interprets a mouse scroll as "Zoom in X times," where X is the number of lines your mouse is set to scroll to. This results in a huge jump, which is annoying when navigating Freeplane with the mouse and the CTRL key. ### What it does: **Thus, I made an AutoHotKey script that makes 1 scroll on your mouse only 1 line at a time.** So now you have small zoom steps on your mouse wheel! Get it here: [Scroll Only 1 Line When Freeplane is Top Window.zip](https://github.com/freeplane/freeplane/files/14116881/Scroll.Only.1.Line.When.Freeplane.is.Top.Window.zip) If you don't have AHK, I used [AHK2exe](https://github.com/AutoHotkey/Ahk2Exe) to compile it to an exe as well. Since AHK scripts are human readable, you can also check the script and compile it yourself, AHK2exe is super simple. [Scroll Only 1 Line When Freeplane is Top Window.zip] ### Details for nerds: It works by changing the lines your mouse scrolls to to "1" anytime that Freeplane is in the foreground (specifically, anytime _javaw.exe_ is in the foreground, which is the .exe name for the Freeplane window that actually displays the mind map & editor). [Scroll Only 1 Line When Freeplane is Top Window.zip](https://github.com/freeplane/freeplane/files/14116881/Scroll.Only.1.Line.When.Freeplane.is.Top.Window.zip)
dpolivaev commented 4 months ago

done