removed testing code from onFocusChanged

This commit is contained in:
Siddharth committed 2013-10-07 23:16:28 +05:30
1 parent 5d198025a5
commit c747582b4c
1 file changed
-9
-9
View File
@@ -152,9 +152,6 @@ void Clickable::FocusChanged(int focusFlags) {
down_ = false;
dragging_ = false;
}
else if(focusFlags & FF_GOTFOCUS){
highlighted_ = true;
}
}
void Clickable::HighlightChanged(bool highlighted){
@@ -257,12 +254,6 @@ void StickyChoice::Key(const KeyInput &key) {
}
void StickyChoice::FocusChanged(int focusFlags) {
if(focusFlags & FF_GOTFOCUS){
highlighted_ = true;
}
if(focusFlags & FF_LOSTFOCUS){
highlighted_ = false;
}
// Override Clickable's FocusChanged to do nothing.
}