Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix: Disable three finger pinch zoom in penMode (#4725)

zsviczian98ea46664c3f
diff --git a/src/components/App.tsx b/src/components/App.tsx
index 5251482bb2..e778038ed5 100644
--- a/src/components/App.tsx
+++ b/src/components/App.tsx
@@ -1932,7 +1932,7 @@ class App extends React.Component<AppProps, AppState> {
// zoom in at the right location on the touchMove handler already.
// On Macbook, we don't have those events so will zoom in at the
// current location instead.
- if (gesture.pointers.size === 2) {
+ if (gesture.pointers.size >= 2) {
return;
}
diff --git a/src/components/Toolbar.scss b/src/components/Toolbar.scss
index b2aaeae391..d5c4374f72 100644
--- a/src/components/Toolbar.scss
+++ b/src/components/Toolbar.scss
@@ -49,6 +49,7 @@
.ToolIcon__hidden {
box-shadow: none !important;
background-color: transparent !important;
+ pointer-events: none !important;
}
.ToolIcon.ToolIcon__lock {