fix: 文字放大缩小卡顿问题

This commit is contained in:
dongqing 2019-12-27 18:37:29 +08:00
parent e0f65f76d6
commit ff7b290138

View File

@ -313,9 +313,8 @@ Component({
});
}, true, this.movingCache);
} else {
// 某些机型(华为 P20非移动场景下只绘制一遍会偶然性图片绘制失败目前采用再绘一遍的方法
// 文字也会出现
if (!isMoving && (doView.type === 'image' || doView.type === 'text')) {
// 某些机型(华为 P20非移动和缩放场景下只绘制一遍会偶然性图片绘制失败
if (!isMoving && !this.isScale) {
pen.paint()
}
pen.paint((callbackInfo) => {