Fix missing text shape props in onShapeChange (#516)
This commit is contained in:
parent
89797787e8
commit
89606b97d2
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ export class TextUtil extends TDShapeUtil<T, E> {
|
|||
}
|
||||
|
||||
onShapeChange?.({
|
||||
...shape,
|
||||
id: shape.id,
|
||||
point: Vec.sub(shape.point, delta),
|
||||
text: TLDR.normalizeText(e.currentTarget.value),
|
||||
|
|
Loading…
Reference in a new issue