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 delegate handle recognition #1106

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

letsfindaway
Copy link
Collaborator

This PR fixes #1105:

  • the handles on a delegate frame may be stacked on each other
    if the delegate frame is small in one or the other direction
  • determine tool from mouse position by asking the topmost
    handle first
  • use isUnderCursor() to be sure that the tool matches the
    currently shown cursor
  • remove unreachable return

@letsfindaway letsfindaway force-pushed the fix-delegate-handle-recognition branch from 018dd17 to aaccb7b Compare September 24, 2024 13:27
- the handles on a delegate frame may be stacked on each other
  if the delegate frame is small in one or the other direction
- determine tool from mouse position by asking the topmost
  handle first
- use isUnderCursor() to be sure that the tool matches the
  currently shown cursor
- remove unreachable "return"
@letsfindaway letsfindaway force-pushed the fix-delegate-handle-recognition branch from aaccb7b to ba0eedd Compare September 24, 2024 14:48
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.

1 participant