fix:control actived error at table boundary

pr675
黄云飞 4 years ago
parent 847207fa64
commit 44086c309c

@ -59,7 +59,7 @@ export class RangeManager {
if (~startIndex && ~endIndex && startIndex === startIndex) { if (~startIndex && ~endIndex && startIndex === startIndex) {
const elementList = this.draw.getElementList() const elementList = this.draw.getElementList()
const element = elementList[startIndex] const element = elementList[startIndex]
if (element.type === ElementType.CONTROL) { if (element?.type === ElementType.CONTROL) {
control.initControl() control.initControl()
return return
} }

Loading…
Cancel
Save