fix: 形状右边内侧角标随着画布缩放,位置不同步问题处理
This commit is contained in:
parent
cd053664bc
commit
e8babcc270
@ -4876,6 +4876,7 @@ var Designer = {
|
|||||||
} else {
|
} else {
|
||||||
if (h == "right") {
|
if (h == "right") {
|
||||||
E = i.props.w - D - 2;
|
E = i.props.w - D - 2;
|
||||||
|
}else {
|
||||||
if (h == "rightedge") {
|
if (h == "rightedge") {
|
||||||
E = i.props.w - D / 2
|
E = i.props.w - D / 2
|
||||||
} else {
|
} else {
|
||||||
@ -5027,7 +5028,7 @@ var Designer = {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (h == "right") {
|
if (h == "right") {
|
||||||
d = i.props.w - D;
|
// d = i.props.w - D;
|
||||||
H.css({
|
H.css({
|
||||||
left: d,
|
left: d,
|
||||||
top: e
|
top: e
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user