mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
removed testing code from onFocusChanged
This commit is contained in:
1 parent
5d198025a5
commit
c747582b4c
1 file changed
-9
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user