[NUI] Fix View to use control-accessible State::SENSITIVE
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 15 Apr 2024 08:11:38 +0000 (17:11 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Tue, 16 Apr 2024 02:56:04 +0000 (11:56 +0900)
commita0feb3760f4b098b189119a365b221eaa0eef018
tree4618fbdfea6aab975131b05cde2e679d26724d58
parent59d7dc4159c9654e335d10ca42e4203bcb4479da
[NUI] Fix View to use control-accessible State::SENSITIVE

In dali-toolkit, control-accessible's State::SENSITIVE has been modified
from Actor::Property::SENSITIVE to IsHittable() && GetTouchRequired().

Unlike control-accessible, NUI View's custom Accessibility state of
Sensitive still refers Actor::Property::SENSITIVE.

So NUI View with ViewAccessibilityMode.Default's Accessibility state of
Sensitive refers IsHittable() && GetTouchRequired().

In contrast, NUI View with ViewAccessibilityMode.Custom's Accessibility
state of Sensitive refers Actor::Property::SENSITIVE.

To make them have same Sensitive value, NUI View's custom Accessibility
state of Sensitive is modified to use the value from control-accessible.
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibility.cs