From: bshsqa <32317749+bshsqa@users.noreply.github.com> Date: Wed, 9 Dec 2020 06:39:08 +0000 (+0900) Subject: [NUI] Change clipping mode of ScrollableBase (#2358) X-Git-Tag: submit/tizen_6.0/20201210.005232~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ce6bc7fa75b1badbea79246e7de9d795297c027;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Change clipping mode of ScrollableBase (#2358) - ClipChildren clipping mode uses stencil buffer. - But, scrollableBase is always pretended as rectangular shape so we can change it to ClipToBoundingBox that uses scissor. - Usually, Scissor is better than stencil buffer for the performance. Signed-off-by: Seungho Baek --- diff --git a/src/Tizen.NUI.Components/Controls/ScrollableBase.cs b/src/Tizen.NUI.Components/Controls/ScrollableBase.cs index d5e844002..d57333a02 100755 --- a/src/Tizen.NUI.Components/Controls/ScrollableBase.cs +++ b/src/Tizen.NUI.Components/Controls/ScrollableBase.cs @@ -667,7 +667,7 @@ namespace Tizen.NUI.Components mPanGestureDetector.AddDirection(PanGestureDetector.DirectionVertical); mPanGestureDetector.Detected += OnPanGestureDetected; - ClippingMode = ClippingModeType.ClipChildren; + ClippingMode = ClippingModeType.ClipToBoundingBox; //Default Scrolling child ContentContainer = new View()