From 601e9a79c07531254a7aa36dbe5e567b1751ef29 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Wed, 3 Nov 2021 14:41:34 +0800 Subject: [PATCH] Android :when reset,do not set scale to 0 --- .../doric/src/main/java/pub/doric/shader/ViewNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doric-android/doric/src/main/java/pub/doric/shader/ViewNode.java b/doric-android/doric/src/main/java/pub/doric/shader/ViewNode.java index b6ba7905..510c66ff 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/ViewNode.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/ViewNode.java @@ -1201,8 +1201,8 @@ public abstract class ViewNode extends DoricContextHolder { setAlpha(1); setTranslationX(0); setTranslationY(0); - setScaleX(0); - setScaleY(0); + setScaleX(1); + setScaleY(1); setRotation(0); setRotationX(0); setRotationY(0);