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

This commit is contained in:
zsviczian 2022-02-06 16:56:52 +01:00 committed by GitHub
parent 00e30ca0e4
commit 98ea46664c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1932,7 +1932,7 @@ class App extends React.Component<AppProps, AppState> {
// zoom in at the right location on the touchMove handler already. // 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 // On Macbook, we don't have those events so will zoom in at the
// current location instead. // current location instead.
if (gesture.pointers.size === 2) { if (gesture.pointers.size >= 2) {
return; return;
} }

View File

@ -49,6 +49,7 @@
.ToolIcon__hidden { .ToolIcon__hidden {
box-shadow: none !important; box-shadow: none !important;
background-color: transparent !important; background-color: transparent !important;
pointer-events: none !important;
} }
.ToolIcon.ToolIcon__lock { .ToolIcon.ToolIcon__lock {