Adds center type
Perhaps using unifying translate and transform? But the snapshots are different.
This commit is contained in:
parent
f57507a882
commit
fb0bb47c19
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ export interface ShapeUtility<K extends Shape> {
|
||||||
shape: K,
|
shape: K,
|
||||||
bounds: Bounds,
|
bounds: Bounds,
|
||||||
info: {
|
info: {
|
||||||
type: TransformEdge | TransformCorner
|
type: TransformEdge | TransformCorner | "center"
|
||||||
initialShape: K
|
initialShape: K
|
||||||
scaleX: number
|
scaleX: number
|
||||||
scaleY: number
|
scaleY: number
|
||||||
|
@ -72,7 +72,7 @@ export interface ShapeUtility<K extends Shape> {
|
||||||
shape: K,
|
shape: K,
|
||||||
bounds: Bounds,
|
bounds: Bounds,
|
||||||
info: {
|
info: {
|
||||||
type: TransformEdge | TransformCorner
|
type: TransformEdge | TransformCorner | "center"
|
||||||
initialShape: K
|
initialShape: K
|
||||||
scaleX: number
|
scaleX: number
|
||||||
scaleY: number
|
scaleY: number
|
||||||
|
|
Loading…
Reference in a new issue