From ec926cda0cb0a32084eb6cf8d688938d0dcacdbc Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Mon, 29 Nov 2021 10:49:00 +0800 Subject: [PATCH] android: DoricLayer setWillNotDraw set false to call draw,otherwise dispatchDraw will be called directly --- .../doric/src/main/java/pub/doric/shader/DoricLayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java b/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java index 1a345d7a..16c9c57d 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java @@ -168,6 +168,7 @@ public class DoricLayer extends MaximumFrameLayout { rightBottom, rightBottom, leftBottom, leftBottom, }; + setWillNotDraw(false); } public float getCornerRadius() {