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

Dragging something "into" a screen edge behaves weirdly #33

Open
ahti opened this issue Jul 28, 2021 · 1 comment
Open

Dragging something "into" a screen edge behaves weirdly #33

ahti opened this issue Jul 28, 2021 · 1 comment

Comments

@ahti
Copy link
Contributor

ahti commented Jul 28, 2021

When picking up a window, edge or corner, dragging it against a screen edge, and then continuing to drag in the direction of the edge, the dragged thing will move on past the edge and off screen.

@dgurkaynak
Copy link
Owner

dgurkaynak commented Jul 29, 2021

Yeah, you're right. If the mouse cursor is not moving into a direction for some reason (edge of the screen), the selected window shouldn't move too. I'm relying on mouseDragged(with:) event, and I think we can check whether the cursor position is on the edge of any screen or not 👍

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