diff --git a/examples/with-script-in-browser/components/ExampleApp.scss b/examples/with-script-in-browser/components/ExampleApp.scss index e41a77ccc..77b921ea8 100644 --- a/examples/with-script-in-browser/components/ExampleApp.scss +++ b/examples/with-script-in-browser/components/ExampleApp.scss @@ -52,7 +52,7 @@ transform: none; } -.excalidraw .panelColumn { +.excalidraw .selected-shape-actions { text-align: left; } diff --git a/packages/excalidraw/actions/actionProperties.tsx b/packages/excalidraw/actions/actionProperties.tsx index 801ec6da0..fb9b7affb 100644 --- a/packages/excalidraw/actions/actionProperties.tsx +++ b/packages/excalidraw/actions/actionProperties.tsx @@ -73,7 +73,7 @@ import type { Scene } from "@excalidraw/element"; import type { CaptureUpdateActionType } from "@excalidraw/element"; import { trackEvent } from "../analytics"; -import { ButtonIconSelect } from "../components/ButtonIconSelect"; +import { RadioSelection } from "../components/RadioSelection"; import { ColorPicker } from "../components/ColorPicker/ColorPicker"; import { FontPicker } from "../components/FontPicker/FontPicker"; import { IconPicker } from "../components/IconPicker"; @@ -418,50 +418,52 @@ export const actionChangeFillStyle = register({ return (
); }, @@ -485,38 +487,40 @@ export const actionChangeStrokeWidth = register({ PanelComponent: ({ elements, appState, updateData, app }) => ( ), }); @@ -540,35 +544,37 @@ export const actionChangeSloppiness = register({ PanelComponent: ({ elements, appState, updateData, app }) => ( ), }); @@ -591,35 +597,37 @@ export const actionChangeStrokeStyle = register({ PanelComponent: ({ elements, appState, updateData, app }) => ( ), }); @@ -658,63 +666,65 @@ export const actionChangeFontSize = register({ PanelComponent: ({ elements, appState, updateData, app }) => ( ), }); @@ -1186,52 +1196,54 @@ export const actionChangeTextAlign = register({ return ( ); }, @@ -1274,54 +1286,56 @@ export const actionChangeVerticalAlign = register({ PanelComponent: ({ elements, appState, updateData, app }) => { return ( ); }, @@ -1369,32 +1383,38 @@ export const actionChangeRoundness = register({ return ( ); }, @@ -1710,48 +1730,50 @@ export const actionChangeArrowType = register({ return ( ); }, diff --git a/packages/excalidraw/components/Actions.tsx b/packages/excalidraw/components/Actions.tsx index 4f3782048..60dab78f4 100644 --- a/packages/excalidraw/components/Actions.tsx +++ b/packages/excalidraw/components/Actions.tsx @@ -154,7 +154,7 @@ export const SelectedShapeActions = ({ !isSingleElementBoundContainer && alignActionsPredicate(appState, app); return ( -