-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Allow to configure and report key modifiers in TapTool
and pointer events
#13132
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
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-3.2 #13132 +/- ##
===========================================
Coverage 92.41% 92.41%
===========================================
Files 315 315
Lines 20029 20038 +9
===========================================
+ Hits 18509 18518 +9
Misses 1520 1520 |
b6b30af
to
1cda558
Compare
1cda558
to
a7a62e9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo two small suggestions
a7a62e9
to
2bb4d76
Compare
but this still only allows for a single action per each TapTool, right? |
…events (bokeh#13132) * Allow to configure key modifiers in TapTool * Refactor callback emit in TapTool * Expose key modifiers to the callback in inspect mode * Expose key modifiers to pointer events * Add an example of inspect setup of TapTool * Unify handling of key modifiers across bokehjs * Add unit tests for setting modifiers and reporting * Added a release note * Rename tap_inspect.py -> tap_inspect_keymod.py * Change a note to a warning
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. |
This adds two things:
TapTool
with key modifiers required to trigger the tool. This is specifically useful ininspect
mode, less inselect
mode, which has intrinsic meaning for key modifiers, derived from other select tools.TapTool
's callback data and allows the same for pointer eventsTap
, etc.fixes #12532