-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Minimap should start dragging when on mouse down outside of viewport area #21708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
IMHO this works counter intuitive, it seems to me that it would work better if you stretch/shrink the minimap content vertically depending on the file line length. In a very large file you'll lose the overview a bit but you'll gain a very logical minimap system where the top of the minimap is the top of the file and the bottom of the minimap is also the bottom of the file. |
@SteveVanOpstal The minimap in Code seems to work just like the one in Sublime and Atom, and I think the implementation so far is excellent. I personally would NOT want the minimap to stretch to match the window height nor have clicking outside it make it scroll. I prefer the"scale" of the map to be the same across files, long or short, as they've got it now. Just my opinion. |
@smlombardi you are right that 'stretching to match the window height' is probably not a good idea. I've used the minimap a bit more now and I think I found what is really bothering me (and the reason why I provided the stretching solution): |
@SteveVanOpstal Sublime offers a setting to put a border on the minimap. Perhaps such a setting would help what you're saying? |
@smlombardi the |
Right now dragging will start on mouse down of the viewport area, I think it would feel better if it dragged even outside of the viewport area.
The text was updated successfully, but these errors were encountered: