[NUI] Fix RadioButton not to invoke duplicate SelectedChanged (#2115)
authorJaehyun Cho <29364140+jaehyun0cho@users.noreply.github.com>
Tue, 22 Dec 2020 06:18:50 +0000 (15:18 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 22 Dec 2020 08:57:34 +0000 (17:57 +0900)
commit2813bff1d0e171b52ebc6202c356a6b6c21133fc
tree74dc239605cb6f59eb18ae0fc7cb4028f943c758
parentaa8d2e1bed4263c90e9341ae9ab91027e28b5dfe
[NUI] Fix RadioButton not to invoke duplicate SelectedChanged (#2115)

RadioButton does not change its state to unselected if button or key is
unpressed while its state is selected.

Previously, RadioButton invoked duplicate SelectedChanged if button or
key is unpressed while its state is selected.

Now, RadioButton does not invoke duplicate SelectedChanged if button or
key is unpressed while its state is selected.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI.Components/Controls/RadioButton.cs
src/Tizen.NUI.Components/Controls/SelectButton.cs