From ff7b290138ddc8d4f4d7da0183f3c7a0d882c350 Mon Sep 17 00:00:00 2001 From: dongqing Date: Fri, 27 Dec 2019 18:37:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E5=AD=97=E6=94=BE=E5=A4=A7?= =?UTF-8?q?=E7=BC=A9=E5=B0=8F=E5=8D=A1=E9=A1=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- painter.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/painter.js b/painter.js index 4ea8917..d0fa6ee 100644 --- a/painter.js +++ b/painter.js @@ -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) => {