mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-10-07 10:53:31 +00:00
Improve background drag behavior on display layout screen
If you moved into and mouse-up-ed over one of the menus while dragging the background, it stopped registering movement and "up events" which felt really awkward. This is not super pretty, better would be a win32-SetCapture-like mechanism but works okay.
This commit is contained in:
parent
ff4971ff62
commit
630b7830fa
@ -95,7 +95,7 @@ bool ViewGroup::Touch(const TouchInput &input) {
|
||||
if ((*iter)->GetVisibility() == V_VISIBLE) {
|
||||
bool touch = (*iter)->Touch(input);
|
||||
any = any || touch;
|
||||
if (exclusiveTouch_ && touch) {
|
||||
if (exclusiveTouch_ && touch && (input.flags & TOUCH_DOWN)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user