From 10b3c5411dc2c143e44d34f243030adb569ae4b8 Mon Sep 17 00:00:00 2001 From: seungho Date: Thu, 3 Dec 2020 15:59:45 +0900 Subject: [PATCH] [NUI] Let scroll again when displacement for OutOfBound effect become 0 Signed-off-by: seungho --- src/Tizen.NUI.Components/Controls/ScrollableBase.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Tizen.NUI.Components/Controls/ScrollableBase.cs b/src/Tizen.NUI.Components/Controls/ScrollableBase.cs index 2ce075b..cd50bd6 100755 --- a/src/Tizen.NUI.Components/Controls/ScrollableBase.cs +++ b/src/Tizen.NUI.Components/Controls/ScrollableBase.cs @@ -1073,7 +1073,10 @@ namespace Tizen.NUI.Components { // check if reaching at the top. if ((int)finalTargetPosition != 0) + { + isVerticalShadowShown = false; return; + } // save start displacement, and re-calculate displacement. if (!isVerticalShadowShown) @@ -1100,7 +1103,10 @@ namespace Tizen.NUI.Components { // check if reaching at the bottom. if (-(int)finalTargetPosition != (int)maxScrollDistance) + { + isVerticalShadowShown = false; return; + } // save start displacement, and re-calculate displacement. if (!isVerticalShadowShown) -- 2.7.4