Skip to content

Commit c5fd13b

Browse files
committed
use only corner anchors
1 parent 671c0a3 commit c5fd13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron_app/src/components/Outpainting.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default {
216216
this.stage.add(this.box_layer);
217217
this.box_layer.add(box);
218218
219-
let tr = new Konva.Transformer({keepRatio : true , rotateEnabled:false , flipEnabled:false });
219+
let tr = new Konva.Transformer({keepRatio : true , rotateEnabled:false , flipEnabled:false, enabledAnchors: ['top-left', 'top-right', 'bottom-left', 'bottom-right'] });
220220
this.box_layer.add(tr);
221221
tr.nodes([box]);
222222

0 commit comments

Comments
 (0)