mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
UI: Track translate/scale/fade transform by screen.
This translates drawing, scissor, and touch to the transform.
This commit is contained in:
1 parent
92b0f00cd8
commit
a36ecb7065
11 files changed
+136
-29
No files matched your search
@@ -71,7 +71,8 @@ void ScreenManager::switchToNext() {
|
||||
bool ScreenManager::touch(const TouchInput &touch) {
|
||||
std::lock_guard<std::mutex> guard(inputLock_);
|
||||
if (!stack_.empty()) {
|
||||
return stack_.back().screen->touch(touch);
|
||||
Screen *screen = stack_.back().screen;
|
||||
return screen->touch(screen->transformTouch(touch));
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user