This commit is contained in:
CPPAlien 2019-12-02 12:09:51 +08:00
parent 606256c6d2
commit 049926cac5

View File

@ -301,12 +301,16 @@ Component({
if (isMoving && doView.type === 'text') {
pen.paint((callbackInfo) => {
callback && callback(callbackInfo);
this.triggerEvent('viewUpdate', this.touchedView);
this.triggerEvent('viewUpdate', {
view: this.touchedView
});
}, true, this.movingCache);
} else {
pen.paint((callbackInfo) => {
callback && callback(callbackInfo);
this.triggerEvent('viewUpdate', this.touchedView);
this.triggerEvent('viewUpdate', {
view: this.touchedView
});
})
}
const {
@ -830,4 +834,4 @@ function setStringPrototype(screenK, scale) {
}
return res;
};
}
}