Closed ArthyChaux closed 2 years ago
I ended up with a solution similar to yours with a slight difference.
I think if we are going to drag along mini-map, it's a good idea to avoid resetting zoom level each time.
There is also a very small accessibility helper where users can use Alt+Mouse-Motion
as well instead of holding a mouse button.
This little change should enable moving with the minimap by dragging when pressing a mouse button, which is really useful when navigating in a project. I did my best to fit the code convention that were above. Hoping that it'll fit the program !