[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)
committerEunki Hong <h.pichulia@gmail.com>
Wed, 1 Feb 2023 06:15:30 +0000 (15:15 +0900)
commitf479e4cca97a072a37a87570ab458e4ebb2db255
tree1a622373592d6ad0b98a5e4b7d6b6e752ad0b891
parent62c4f59c1232a67d3f13bce74df3c334e2e2912d
[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