From 68bdfaefbe01cdab7458fd9586b4110626eb8fae Mon Sep 17 00:00:00 2001 From: Pete Hunt Date: Mon, 21 Sep 2020 12:16:34 -0700 Subject: [PATCH] Fix pinch-to-zoom performance (#2171) --- src/components/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/App.tsx b/src/components/App.tsx index bbed3b82..5f4e7512 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -3813,7 +3813,9 @@ class App extends React.Component { Object.keys(selectedElementIds).length !== 0 ? selectedElementIds : previousSelectedElementIds, + shouldCacheIgnoreZoom: true, })); + this.resetShouldCacheIgnoreZoomDebounced(); return; }