Skip to content

Commit

Permalink
add missing types, close #1693
Browse files Browse the repository at this point in the history
  • Loading branch information
lavrton committed Dec 25, 2023
1 parent 5bf47a3 commit 813cd4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shapes/Transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ export interface TransformerConfig extends ContainerConfig {
boundBoxFunc?: (oldBox: Box, newBox: Box) => Box;
useSingleNodeRotation?: boolean;
shouldOverdrawWholeArea?: boolean;
anchorDragBoundFunc?: (
oldPos: Vector2d,
newPos: Vector2d,
evt: any
) => Vector2d;
anchorStyleFunc?: (anchor: Shape) => void;
}

var EVENTS_NAME = 'tr-konva';
Expand Down

0 comments on commit 813cd4f

Please sign in to comment.