fix: shrink control range boundary error #305

pr675
Hufe921 2 years ago
parent e10e35b0a3
commit a9fc226a39

@ -416,6 +416,7 @@ export class RangeManager {
const elementList = this.draw.getElementList()
const range = this.getRange()
const { startIndex, endIndex } = range
if (!~startIndex && !~endIndex) return
const startElement = elementList[startIndex]
const endElement = elementList[endIndex]
if (startIndex === endIndex) {

Loading…
Cancel
Save