mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Modify action buttons visibility for desktop (#1156)
This commit is contained in:
parent
ffec3af635
commit
634410ad48
3 changed files with 15 additions and 8 deletions
|
@ -9,7 +9,7 @@ import { ExcalidrawElement } from "../element/types";
|
|||
import { FixedSideContainer } from "./FixedSideContainer";
|
||||
import { Island } from "./Island";
|
||||
import { HintViewer } from "./HintViewer";
|
||||
import { calculateScrollCenter, getTargetElement } from "../scene";
|
||||
import { calculateScrollCenter } from "../scene";
|
||||
import { SelectedShapeActions, ShapesSwitcher } from "./Actions";
|
||||
import { Section } from "./Section";
|
||||
import { RoomDialog } from "./RoomDialog";
|
||||
|
@ -110,7 +110,8 @@ export function MobileMenu({
|
|||
showSelectedShapeActions(appState, elements) ? (
|
||||
<Section className="App-mobile-menu" heading="selectedShapeActions">
|
||||
<SelectedShapeActions
|
||||
targetElements={getTargetElement(elements, appState)}
|
||||
appState={appState}
|
||||
elements={elements}
|
||||
renderAction={actionManager.renderAction}
|
||||
elementType={appState.elementType}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue