mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-04 03:24:30 +01:00
lint
This commit is contained in:
@@ -1597,10 +1597,7 @@ export const actionChangeContainerBehavior = register<
|
|||||||
label: "labels.container",
|
label: "labels.container",
|
||||||
trackEvent: false,
|
trackEvent: false,
|
||||||
perform: (elements, appState, value, app) => {
|
perform: (elements, appState, value, app) => {
|
||||||
invariant(
|
invariant(value, "actionChangeContainerBehavior: value must be defined");
|
||||||
value,
|
|
||||||
"actionChangeContainerBehavior: value must be defined",
|
|
||||||
);
|
|
||||||
const elementsMap = app.scene.getNonDeletedElementsMap();
|
const elementsMap = app.scene.getNonDeletedElementsMap();
|
||||||
let selected = getSelectedElements(elements, appState, {
|
let selected = getSelectedElements(elements, appState, {
|
||||||
includeBoundTextElement: true,
|
includeBoundTextElement: true,
|
||||||
|
|||||||
@@ -2470,4 +2470,4 @@ export const growingContainerIcon = createIcon(
|
|||||||
<path d="M9 21h1" />
|
<path d="M9 21h1" />
|
||||||
</g>,
|
</g>,
|
||||||
tablerIconProps,
|
tablerIconProps,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user