zsviczian пре 2 година
родитељ
комит
b412e742e6
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/components/MobileMenu.tsx

+ 2 - 1
src/components/MobileMenu.tsx

@@ -111,8 +111,9 @@ export const MobileMenu = ({
                     />
                   </Stack.Row>
                 </Island>
-                {renderTopRightUI && renderTopRightUI(true, appState)}
                 <div className="mobile-misc-tools-container">
+                  {!appState.viewModeEnabled &&
+                    renderTopRightUI?.(true, appState)}
                   <PenModeButton
                     checked={appState.penMode}
                     onChange={onPenModeToggle}