Skip to content

Commit 2587a09

Browse files
committed
support double click events
1 parent 21a1c8d commit 2587a09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mpl_widget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ export class MPLCanvasView extends DOMWidgetView {
509509
top_canvas.style.top = '0';
510510
top_canvas.style.zIndex = '1';
511511

512+
top_canvas.addEventListener('dblclick', this.mouse_event('dblclick'));
512513
top_canvas.addEventListener(
513514
'mousedown',
514515
this.mouse_event('button_press')

0 commit comments

Comments
 (0)