onLockToggle()}
- onPenModeToggle={onPenModeToggle}
- canvas={canvas}
- isCollaborating={isCollaborating}
- renderCustomFooter={renderCustomFooter}
- showThemeBtn={showThemeBtn}
- onImageAction={onImageAction}
- renderTopRightUI={renderTopRightUI}
- renderCustomStats={renderCustomStats}
- />
- >
- ) : (
- <>
-
- {dialogs}
- {renderFixedSideContainer()}
-
+ {appState.showStats && (
+ {
+ actionManager.executeAction(actionToggleStats);
+ }}
+ renderCustomStats={renderCustomStats}
+ />
+ )}
+ {appState.scrolledOutside && (
+
+ )}
+
+ )}
{appState.isLibraryOpen && (
{libraryMenu}
)}