fix
This commit is contained in:
parent
606256c6d2
commit
049926cac5
10
painter.js
10
painter.js
@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user