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,
|
||||
bounds: Bounds,
|
||||
info: {
|
||||
type: TransformEdge | TransformCorner
|
||||
type: TransformEdge | TransformCorner | "center"
|
||||
initialShape: K
|
||||
scaleX: number
|
||||
scaleY: number
|
||||
|
@ -72,7 +72,7 @@ export interface ShapeUtility<K extends Shape> {
|
|||
shape: K,
|
||||
bounds: Bounds,
|
||||
info: {
|
||||
type: TransformEdge | TransformCorner
|
||||
type: TransformEdge | TransformCorner | "center"
|
||||
initialShape: K
|
||||
scaleX: number
|
||||
scaleY: number
|
||||
|
|
Loading…
Reference in a new issue