mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
debug
This commit is contained in:
parent
77028f4d08
commit
f994e5d71d
1 changed files with 2 additions and 2 deletions
|
@ -1396,12 +1396,12 @@ class App extends React.Component<AppProps, AppState> {
|
||||||
isTextElement(this.state.editingElement)
|
isTextElement(this.state.editingElement)
|
||||||
? false
|
? false
|
||||||
: !atLeastOneVisibleElement && renderingElements.length > 0;
|
: !atLeastOneVisibleElement && renderingElements.length > 0;
|
||||||
if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 3`);
|
if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 3`, scrolledOutside, this.state.scrolledOutside);
|
||||||
if (this.state.scrolledOutside !== scrolledOutside) {
|
if (this.state.scrolledOutside !== scrolledOutside) {
|
||||||
this.setState({ scrolledOutside });
|
this.setState({ scrolledOutside });
|
||||||
}
|
}
|
||||||
if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 4`);
|
if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 4`);
|
||||||
this.scheduleImageRefresh();
|
//this.scheduleImageRefresh();
|
||||||
if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 5`);
|
if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 5`);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue