|
|
|
@ -172,12 +172,10 @@ export class Previewer {
|
|
|
|
if (this.curElement) {
|
|
|
|
if (this.curElement) {
|
|
|
|
this.curElement.width = this.width
|
|
|
|
this.curElement.width = this.width
|
|
|
|
this.curElement.height = this.height
|
|
|
|
this.curElement.height = this.height
|
|
|
|
this.draw.render({ isSetCursor: false })
|
|
|
|
this.draw.render({
|
|
|
|
this.drawResizer(
|
|
|
|
isSetCursor: true,
|
|
|
|
this.curElement,
|
|
|
|
curIndex: this.curPosition?.index
|
|
|
|
this.curPosition,
|
|
|
|
})
|
|
|
|
this.previewerDrawOption
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 还原副作用
|
|
|
|
// 还原副作用
|
|
|
|
this.resizerImageContainer.style.display = 'none'
|
|
|
|
this.resizerImageContainer.style.display = 'none'
|
|
|
|
|