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

Window dragging can lose following cursor #49

Closed
nefarius opened this issue Jun 30, 2024 · 4 comments
Closed

Window dragging can lose following cursor #49

nefarius opened this issue Jun 30, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@nefarius
Copy link
Owner

When the window is dragged from the "fake title bar" (basically just an area on top of the render area that cars like a mouse-drag zone) fairly quickly it can lose attachment since the mouse cursor at one point will leave the zone that is used to calculate moving the window.

Not really sure how to improve this without using the "normal" Windows-included title bar, if I can't fix the current system I have to enable the title bar but hopefully it can be customized enough to not completely break the look-and-feel of the window.

@nefarius nefarius added the bug Something isn't working label Jun 30, 2024
@nefarius nefarius self-assigned this Jun 30, 2024
@nefarius
Copy link
Owner Author

One fix that already improved the situation was querying the monitor refresh rate and setting it as the app FPS so window movement looks now way more smooth on e.g. 120Hz than before. Small steps.

@nefarius
Copy link
Owner Author

nefarius commented Jun 30, 2024

Ugh, this looks terrible on Windows 10 where system-wide dark-mode lacks compared to recent Windows 11 builds...

image

@nefarius
Copy link
Owner Author

Hm, so it can follow accent colors but that is not really the "dark mode" I envisioned and expect...

image

@nefarius
Copy link
Owner Author

Alright, best compromise I could come up with within the limitations of the framework I use 😁

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant