fix: clear draw side effects when set zone
This commit is contained in:
@@ -19,6 +19,10 @@ function dblclick(host: CanvasEvent, evt: MouseEvent) {
|
|||||||
if (draw.getIsPagingMode()) {
|
if (draw.getIsPagingMode()) {
|
||||||
if (!~positionContext.index && positionContext.zone) {
|
if (!~positionContext.index && positionContext.zone) {
|
||||||
draw.getZone().setZone(positionContext.zone)
|
draw.getZone().setZone(positionContext.zone)
|
||||||
|
draw.clearSideEffect()
|
||||||
|
position.setPositionContext({
|
||||||
|
isTable: false
|
||||||
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user