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(() => {
|
private resetShouldCacheIgnoreZoomDebounced = debounce(() => {
|
||||||
this.setState({ shouldCacheIgnoreZoom: false });
|
this.setState({ shouldCacheIgnoreZoom: false });
|
||||||
}, 1000);
|
}, 300);
|
||||||
|
|
||||||
private saveDebounced = debounce(() => {
|
private saveDebounced = debounce(() => {
|
||||||
saveToLocalStorage(globalSceneState.getAllElements(), this.state);
|
saveToLocalStorage(globalSceneState.getAllElements(), this.state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user