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>
Mon, 2 Nov 2020 09:22:36 +0000 (18:22 +0900)
commit2a480bbe00545f8cb11b02cf28202c6fa63fb5a5
tree519879e0b27b3a99f3ce8e77176c958ed0fc24dc
parent537ba3cd29ced66fc2878adcc1a85f7337894b11
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]