Skip to content

Fix logic error in UI event emit code#14059

Merged
mattpap merged 2 commits into
branch-3.6from
mattpap/14058_emit_UI_events
Sep 12, 2024
Merged

Fix logic error in UI event emit code#14059
mattpap merged 2 commits into
branch-3.6from
mattpap/14058_emit_UI_events

Conversation

@mattpap

@mattpap mattpap commented Sep 11, 2024

Copy link
Copy Markdown
Contributor

Operator in result ||= emit(tool) is short circuiting, thus if the first emit returned true, which is always for key event handlers, then no other would emit.

fixes #14058

@mattpap mattpap added this to the 3.6 milestone Sep 11, 2024
Comment thread bokehjs/src/lib/core/ui_events.ts
@mattpap mattpap force-pushed the mattpap/14058_emit_UI_events branch from ea2550d to 121b1cc Compare September 12, 2024 09:11
@mattpap mattpap merged commit f1824dc into branch-3.6 Sep 12, 2024
@mattpap mattpap deleted the mattpap/14058_emit_UI_events branch September 12, 2024 10:04
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Clearing selection with ESC only works on first selection tool

2 participants