X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.NUI.Components%2FControls%2FControl.cs;h=54e86c85fd73ad194fe1fcb63de2f6f2a2323780;hb=f35ca6fa89c4cc86c53f087daa6012d53c8f7765;hp=7fcde28e8cff01018f120c6f7e067c3946de1f6f;hpb=7c984d9f3468ff8724c377b5e10fa271f942b7d4;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.NUI.Components/Controls/Control.cs b/src/Tizen.NUI.Components/Controls/Control.cs index 7fcde28..54e86c8 100755 --- a/src/Tizen.NUI.Components/Controls/Control.cs +++ b/src/Tizen.NUI.Components/Controls/Control.cs @@ -256,13 +256,13 @@ namespace Tizen.NUI.Components switch(state) { case PointStateType.Down: - ControlState = ControlStates.Pressed; + ControlState = ControlState.Pressed; break; case PointStateType.Interrupted: case PointStateType.Up: - if (ControlState == ControlStates.Pressed) + if (ControlState == ControlState.Pressed) { - ControlState = ControlStates.Normal; + ControlState = ControlState.Normal; } break; default: @@ -304,7 +304,7 @@ namespace Tizen.NUI.Components private void Initialize() { - ControlState = ControlStates.Normal; + ControlState = ControlState.Normal; RegisterDetectionOfSubstyleChanges();