|
|
@@ -312,7 +312,7 @@ export class CanvasPhotoEditor {
|
|
|
this.dragPageData.end = { x: mouseX, y: mouseY }
|
|
|
let newEndIndex = endIndex<-1?-1:endIndex>this.pages.length-1?this.pages.length:endIndex
|
|
|
if(newEndIndex != this.dragPageData.movedIndex){
|
|
|
- await handleClearLine()
|
|
|
+ await this.handleClearLine()
|
|
|
this.dragPageData.movedIndex = newEndIndex
|
|
|
this.drawAllPages()
|
|
|
}
|