mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-19 01:39:27 -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
@ -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…
x
Reference in New Issue
Block a user