From f994e5d71d2816f15550d1204dcb4dc5651a50b3 Mon Sep 17 00:00:00 2001 From: zsviczian Date: Mon, 3 Apr 2023 21:36:01 +0200 Subject: [PATCH] debug --- src/components/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index 020e641a1..7022fb6c3 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1396,12 +1396,12 @@ class App extends React.Component { isTextElement(this.state.editingElement) ? false : !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) { this.setState({ scrolledOutside }); } if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 4`); - this.scheduleImageRefresh(); + //this.scheduleImageRefresh(); if(!this.state.shouldCacheIgnoreZoom) console.log(`callback 5`); }, },