File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
routes/examples/transform Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ Further information: [Konva API docs](https://konvajs.org/api/Konva.Transformer.
30
30
import { registerEvents } from ' $lib/util/events' ;
31
31
import { getParentContainer , type KonvaParent } from ' $lib/util/manageContext' ;
32
32
import { copyExistingKeys } from ' $lib/util/object' ;
33
- import { type Props } from ' $lib/util/props' ;
33
+ import { type PropsOptionalConfig } from ' $lib/util/props' ;
34
34
35
35
let {
36
36
config = $bindable ({}),
37
37
staticConfig = false ,
38
38
... eventHooks
39
- }: Props <Konva .TransformerConfig | undefined > = $props ();
39
+ }: PropsOptionalConfig <Konva .TransformerConfig > = $props ();
40
40
41
41
export const handle = new Konva .Transformer (config );
42
42
Original file line number Diff line number Diff line change 171
171
/>
172
172
173
173
<!-- Position transformer and selection rectagle at the bottom of all components so they are always the topmost elements on the canvas -->
174
- <Transformer config ={{}} bind:this ={transformer } />
174
+ <Transformer bind:this ={transformer } />
175
175
<!-- The selection rectangle -->
176
176
<Rect config ={selectionRectangleConfig } bind:this ={selectionRectangle } />
177
177
</Layer >
You can’t perform that action at this time.
0 commit comments