From bd5c5c48eed524d5a5707a5c30eaea6b4e88474d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Tue, 13 Jun 2023 15:16:50 +0800 Subject: [PATCH] add super when style is unused --- .../doric/src/main/java/pub/doric/shader/slider/SliderNode.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doric-android/doric/src/main/java/pub/doric/shader/slider/SliderNode.java b/doric-android/doric/src/main/java/pub/doric/shader/slider/SliderNode.java index e4c1cfe7..9e303789 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/slider/SliderNode.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/slider/SliderNode.java @@ -110,6 +110,8 @@ public class SliderNode extends SuperNode { } else if (position == count - 1) { outRect.right = interval; } + } else { + super.getItemOffsets(outRect, view, parent, state); } } });