Fix pinch-to-zoom performance (#2171)
This commit is contained in:
parent
2a2630082f
commit
68bdfaefbe
@ -3813,7 +3813,9 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
Object.keys(selectedElementIds).length !== 0
|
||||
? selectedElementIds
|
||||
: previousSelectedElementIds,
|
||||
shouldCacheIgnoreZoom: true,
|
||||
}));
|
||||
this.resetShouldCacheIgnoreZoomDebounced();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user