mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 04:36:47 +08:00
fixed Label regression
This commit is contained in:
@@ -151,10 +151,16 @@
|
||||
}
|
||||
|
||||
tag.setAttrs({
|
||||
|
||||
x: -1 * x,
|
||||
y: -1 * y,
|
||||
width: width,
|
||||
height: height
|
||||
});
|
||||
|
||||
text.setAttrs({
|
||||
x: -1 * x,
|
||||
y: -1 * y
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user