Skip to content

Commit

Permalink
Include event.buttons in mouse events (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 authored Dec 17, 2024
1 parent 564cf6d commit 7db38c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mpl_widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,7 @@ export class MPLCanvasView extends DOMWidgetView {
x: x,
y: y,
button: event.button,
buttons: event.buttons,
step: event.step,
modifiers: utils.getModifiers(event),
guiEvent: utils.get_simple_keys(event),
Expand Down

0 comments on commit 7db38c7

Please sign in to comment.