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

Fix window resize cursor icon on Windows #128

Merged
merged 1 commit into from
Nov 13, 2022
Merged

Conversation

chronicl
Copy link
Contributor

@chronicl chronicl commented Oct 10, 2022

This fixes a Windows specific problem:
Currently windows created by bevy with bevy_egui installed show the default cursor icon when hovering over the edges of the window, although a resize cursor icon for window resizing should be shown instead.

This was implemented in a similar fashion to how egui-winit handles this problem, see here.

Probably partially fixes #126.

Before this patch windows created by bevy with bevy_egui installed
would show the default cursor icon when hovering over the edges of the
window, although a resize cursor icon should be shown instead.
@mvlabat
Copy link
Owner

mvlabat commented Nov 13, 2022

Seems like it does fix the issue! Thank you for the PR.

@mvlabat mvlabat changed the base branch from main to pre-release November 13, 2022 17:12
@mvlabat mvlabat changed the base branch from pre-release to main November 13, 2022 17:12
@mvlabat mvlabat merged commit fbcd126 into mvlabat:main Nov 13, 2022
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

Successfully merging this pull request may close these issues.

Cannot resize main window using mouse
2 participants