fix: clear draw side effects when set zone

This commit is contained in:
Hufe921
2024-03-18 20:48:24 +08:00
parent 056648dd5c
commit 169864f040
+4
View File
@@ -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
} }
} }