minimap icon indicating copy to clipboard operation
minimap copied to clipboard

Can't drag minimap-visible-area if you drag out of the window bounds

Open mnquintana opened this issue 9 years ago • 1 comments

If you're dragging the visible area region, and drag out of the bounds of the window, then you "lose" the drag – you have to click and drag on the visible area again to continue dragging. Hopefully this will be more clear with a screencap:

screencap1

mnquintana avatar Apr 13 '15 02:04 mnquintana

Yes, I explain why in my answer to the comments on this commit: https://github.com/atom-minimap/minimap/commit/d4c02dfb73cda0b852f25720776bb151802407ee

There's some limitations when dealing with JS mouse events, the choice was between stopping the drag or having unfinished drag gesture when releasing the mouse outside of the window. We're still looking for a better solution that could handle all these cases (there's also the alt-tab case as described in #314).

abe33 avatar Apr 13 '15 08:04 abe33