fix(recorder): address custom context menus

This commit is contained in:
Matt Kleinsmith 2024-07-10 15:07:38 -07:00
parent a3b0f0cba8
commit e12b52f1ef

View file

@ -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;