* This fixes the issue that a checkbox selection can not be unselected.
* Note that this is temporary solution, it need to be fixed after
the Selector priovides priority among the states.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
isEnabled = stateEnabled;
}
- var stateSelected = (controlStateChangedInfo.CurrentState & ControlStates.Selected) == ControlStates.Selected;
-
- if (isSelected != stateSelected)
- {
- isSelected = stateSelected;
- }
-
var statePressed = (controlStateChangedInfo.CurrentState & ControlStates.Pressed) == ControlStates.Pressed;
if (isPressed != statePressed)