mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
This commit is contained in:
1 parent
dd112491db
commit
481d0fd18c
84 files changed
+265
-186
No files matched your search
@@ -109,7 +109,7 @@ bool ViewGroup::Touch(const TouchInput &input) {
|
||||
if (view->GetVisibility() == V_VISIBLE) {
|
||||
bool touch = view->Touch(input);
|
||||
any = any || touch;
|
||||
if (exclusiveTouch_ && touch && (input.flags & TOUCH_DOWN)) {
|
||||
if (exclusiveTouch_ && touch && (input.flags & TouchInputFlags::DOWN)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user