fix(recorder): address custom context menus
This commit is contained in:
parent
a3b0f0cba8
commit
e12b52f1ef
|
|
@ -259,6 +259,11 @@ class RecordActionTool implements RecorderTool {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onContextMenu(event: MouseEvent) {
|
||||||
|
// in case the web page has a custom context menu
|
||||||
|
this.onClick(event);
|
||||||
|
}
|
||||||
|
|
||||||
onPointerDown(event: PointerEvent) {
|
onPointerDown(event: PointerEvent) {
|
||||||
if (this._shouldIgnoreMouseEvent(event))
|
if (this._shouldIgnoreMouseEvent(event))
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue