mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Update zoom refresh (#1180)
One second feels way too long. Let's try 300ms
This commit is contained in:
parent
79557676c2
commit
27075b028c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue