mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-03 19:18:51 +01:00
fix: when editing text action buttons did not function
This commit is contained in:
@@ -1648,7 +1648,7 @@ export const actionChangeContainerBehavior = register<
|
|||||||
captureUpdate: CaptureUpdateAction.IMMEDIATELY,
|
captureUpdate: CaptureUpdateAction.IMMEDIATELY,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
const nextElements = changeProperty(elements, appState, (el) =>
|
const nextElements = elements.map((el) =>
|
||||||
containerIdsToUpdate.has(el.id)
|
containerIdsToUpdate.has(el.id)
|
||||||
? newElementWith(el, {
|
? newElementWith(el, {
|
||||||
containerBehavior: {
|
containerBehavior: {
|
||||||
@@ -1686,7 +1686,7 @@ export const actionChangeContainerBehavior = register<
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
const textFlow = value.textFlow;
|
const textFlow = value.textFlow;
|
||||||
const nextElements = changeProperty(elements, appState, (el) =>
|
const nextElements = elements.map((el) =>
|
||||||
containerIdsToUpdate.has(el.id)
|
containerIdsToUpdate.has(el.id)
|
||||||
? newElementWith(el, {
|
? newElementWith(el, {
|
||||||
containerBehavior: {
|
containerBehavior: {
|
||||||
|
|||||||
Reference in New Issue
Block a user