mirror of
https://github.com/konvajs/konva.git
synced 2025-12-26 22:55:44 +08:00
Update Transformer.ts
If Transformer is moved to the top, it will block event capture,Setting the listening of the ”back“ to false can avoid this issue
This commit is contained in:
@@ -615,6 +615,7 @@ export class Transformer extends Group {
|
||||
width: 0,
|
||||
height: 0,
|
||||
draggable: true,
|
||||
listening: false,
|
||||
sceneFunc(ctx, shape) {
|
||||
var tr = shape.getParent() as Transformer;
|
||||
var padding = tr.padding();
|
||||
|
||||
Reference in New Issue
Block a user