Browse Source

Update zoom refresh (#1180)

One second feels way too long. Let's try 300ms
Christopher Chedeau 5 years ago
parent
commit
27075b028c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/App.tsx

+ 1 - 1
src/components/App.tsx

@@ -2628,7 +2628,7 @@ export class App extends React.Component<any, AppState> {
 
   private resetShouldCacheIgnoreZoomDebounced = debounce(() => {
     this.setState({ shouldCacheIgnoreZoom: false });
-  }, 1000);
+  }, 300);
 
   private saveDebounced = debounce(() => {
     saveToLocalStorage(globalSceneState.getAllElements(), this.state);