Skip to content
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

[Bug] Windows lag when dragged, allowing the cursor to grab and drag another object #186

Open
Crimsonum opened this issue Aug 7, 2024 · 2 comments

Comments

@Crimsonum
Copy link
Contributor

When dragging a window around, it lags a bit behind the mouse cursor. If dragged fast enough, the cursor exits the window frame, and if the cursor touches another window or a map object, that object will be dragged instead. This bug means you can accidentally move objects in the map without noticing, if you're not careful when moving windows.

GIF 7 8 2024 12 34 23
Example.

@Rampastring
Copy link
Member

This doesn't entirely resolve the issue, but should make it less bad. Windows now follow the cursor outside of the window when dragged. While less likely, it is still possible to accidentally move map objects while moving windows though.

Rampastring@1aa4857

@Rampastring
Copy link
Member

This, combined with the above, should fully solve the issue of accidental dragging of objects while moving windows.

Rampastring@7fd1d5c

A related issue still exists where you can accidentally place objects like units if you have the tool active while moving a window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants