mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: Disable three finger pinch zoom in penMode (#4725)
This commit is contained in:
parent
00e30ca0e4
commit
98ea46664c
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
.ToolIcon__hidden {
|
||||
box-shadow: none !important;
|
||||
background-color: transparent !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.ToolIcon.ToolIcon__lock {
|
||||
|
|
Loading…
Add table
Reference in a new issue