[NUI] Fix NUI button not working when style disabled
authorJiyun Yang <ji.yang@samsung.com>
Mon, 30 Jan 2023 09:58:35 +0000 (18:58 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Wed, 1 Feb 2023 07:07:33 +0000 (16:07 +0900)
commit687ab770358f09b6d2cfa31be5ff003ba08b01b1
tree9a70521657285e52413d47c2ffd717f7714c0bf0
parenta33cd92b92011890d9e0ae844feec41c9ef96176
[NUI] Fix NUI button not working when style disabled

There was a flag that prevent state updating while applying style.
But the flag seemed to have a bug : when style is disabled, the state updating is never going to be done.

This patch fixes the bug and changes the flag's name to be more contextual: styleApplied -> styleApplying.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI.Components/Controls/Button.Internal.cs
src/Tizen.NUI.Components/Controls/Button.cs