electron?.onTopBarDoubleClick()}
+ >
e.stopPropagation() : null}
>
Comm
diff --git a/web/components/navigation-arrows.react.js b/web/components/navigation-arrows.react.js
--- a/web/components/navigation-arrows.react.js
+++ b/web/components/navigation-arrows.react.js
@@ -8,6 +8,8 @@
import SWMansionIcon from '../SWMansionIcon.react.js';
import css from './navigation-arrows.css';
+const stopDoubleClickPropagation = e => e.stopPropagation();
+
function NavigationArrows(): React.Node {
const goBack = React.useCallback(
() => history.getHistoryObject().goBack(),
@@ -37,10 +39,18 @@
return (
diff --git a/web/electron.js b/web/electron.js
--- a/web/electron.js
+++ b/web/electron.js
@@ -6,6 +6,7 @@
onNavigate: (
(event: any, { canGoBack: boolean, canGoForward: boolean }) => void,
) => void,
+ onTopBarDoubleClick: () => {},
} = typeof electronContextBridge === 'undefined' ? null : electronContextBridge;
export default electron;