Make sure scrollable shadow is shown only when scrolled vertically
authorhuayong.xu <huayong.xu@samsung.com>
Mon, 2 Nov 2020 07:58:02 +0000 (15:58 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 4 Nov 2020 08:17:17 +0000 (17:17 +0900)
commitd63af9f136fa14d0bc1cd61d6eafc9ed5d8c94ce
treed5993bc3ef837a066c593bc832fe46171d7b7533
parent086ab9969e6ce638e4d7d425a6e82e1032c1c28b
Make sure scrollable shadow is shown only when scrolled vertically

When the scrollable is scrolled horizontally, a background image
is shown accidentally.
This patch adds a check that scrollable shadow is shown only when
scrolled vertically.
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/ScrollableBaseSample.cs [new file with mode: 0755]