Re: Dimensions
Posted by
johnfound on
Dec 04, 2024; 6:03pm
URL: https://forum.librecad.org/Dimensions-tp5725567p5725754.html
Thanks! I will play a little with this code.
Also, I need a little more help in code navigation:
I want to implement the "pan on zoom" feature - when you zoom-in with the mouse wheel, the point that is under the mouse cursor moves to the center of the drawing together with the mouse cursor. (and also, there is even better variant - on the first scroll, it only pan, and then zoom).
So, where I can read the code that makes the zoom with the mouse wheel and the code that pans with the middle button? Some combination of both should make the task.