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
|
@ -1,6 +1,6 @@
|
|||
import React from "react";
|
||||
import { showSelectedShapeActions } from "../element";
|
||||
import { calculateScrollCenter, getTargetElement } from "../scene";
|
||||
import { calculateScrollCenter } from "../scene";
|
||||
import { exportCanvas } from "../data";
|
||||
|
||||
import { AppState } from "../types";
|
||||
|
@ -137,7 +137,8 @@ export const LayerUI = React.memo(
|
|||
>
|
||||
<Island padding={4}>
|
||||
<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