kopia lustrzana https://github.com/Tldraw/Tldraw
fix test
rodzic
c00f467266
commit
03a56f7979
|
@ -51,9 +51,11 @@ export const textShapeMigrations = createShapePropsMigrationSequence({
|
||||||
id: Versions.AddTextAlign,
|
id: Versions.AddTextAlign,
|
||||||
up: (props) => {
|
up: (props) => {
|
||||||
props.textAlign = props.align
|
props.textAlign = props.align
|
||||||
|
delete props.align
|
||||||
},
|
},
|
||||||
down: (props) => {
|
down: (props) => {
|
||||||
props.align = props.textAlign
|
props.align = props.textAlign
|
||||||
|
delete props.textAlign
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Ładowanie…
Reference in New Issue