fix: Disable three finger pinch zoom in penMode (#4725)
This commit is contained in:
parent
00e30ca0e4
commit
98ea46664c
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user