Skip to content

Commit

Permalink
Remove hover state when TUIControl is highlighted.
Browse files Browse the repository at this point in the history
  • Loading branch information
luosheng committed Dec 26, 2012
1 parent c181e4a commit 27c6805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/UIKit/TUIControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ - (TUIControlState)state {
if (_controlFlags.hover)
actual |= TUIControlStateHover;
if (_controlFlags.tracking || _controlFlags.highlighted)
actual |= TUIControlStateHighlighted;
actual = (actual & ~TUIControlStateHover) | TUIControlStateHighlighted;
if (_controlFlags.selected)
actual |= TUIControlStateSelected;

Expand Down

0 comments on commit 27c6805

Please sign in to comment.