Skip to content

Commit

Permalink
Merge pull request #559 from Lemoncode/dev
Browse files Browse the repository at this point in the history
hack open file
  • Loading branch information
brauliodiez authored Nov 18, 2024
2 parents 3e96f47 + c2e88a9 commit f5319ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pods/thumb-pages/components/thumb-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ export const ThumbPage: React.FunctionComponent<Props> = props => {

React.useEffect(() => {
if (!isVisible) return;
handleResizeAndForceRedraw();
setTimeout(() => {
handleResizeAndForceRedraw();
}, 100);
}, [isVisible]);

React.useEffect(() => {
setTimeout(() => {
handleResizeAndForceRedraw();
}, 100);
}, 200);
}, [shapes, activePageIndex]);

React.useEffect(() => {
Expand Down

0 comments on commit f5319ef

Please sign in to comment.