[NUI] : Add ScrollPosition in ScrollEventArgs for user convenience.
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 16 Mar 2021 05:44:09 +0000 (14:44 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Wed, 17 Mar 2021 06:50:14 +0000 (15:50 +0900)
commit81d0314cbebf52b1b9631ae93e0abfd69ce4550a
treea13ae48d2ed511003e0fdba97d88f15491489d6f
parent976121e4bb3fce19a579ecc3f4a45705e7939512
[NUI] : Add ScrollPosition in ScrollEventArgs for user convenience.

Current Position property in ScrollEventArgs is position of
ContentContainer which is negative.
user controls scrollableBase via ScrollTo and other API with
positive position of pan not ContentContainer so user must convert
current Position Property to use.

By this patch, we provide positive ScrollPosition which represent
position of scroll pan, so no need to convert value for using it.
src/Tizen.NUI.Components/Controls/ScrollableBase.cs