fix:control actived error at table boundary
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user