Skip to content

Fix delegate handle recognition#1106

Merged
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-delegate-handle-recognition
Feb 11, 2025
Merged

Fix delegate handle recognition#1106
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-delegate-handle-recognition

Conversation

@letsfindaway
Copy link
Copy Markdown
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
@kaamui kaamui merged commit 8da8190 into OpenBoard-org:dev Feb 11, 2025
@letsfindaway letsfindaway deleted the fix-delegate-handle-recognition branch February 12, 2025 06:54
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.

2 participants