mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
UI: Add delay to tweens.
Also allow them to start out in an invalid state and accept first divert.
This commit is contained in:
1 parent
cd2dfd5c9a
commit
46ea88e096
4 files changed
+55
-14
No files matched your search
@@ -831,7 +831,9 @@ void EmuScreen::CreateViews() {
|
||||
|
||||
// We start invisible here, in case of recreated views.
|
||||
loadingViewColor_ = loadingView_->AddTween(new TextColorTween(0x00FFFFFF, 0x00FFFFFF, 0.2f, &bezierEaseInOut));
|
||||
loadingViewColor_->Persist();
|
||||
loadingViewVisible_ = loadingView_->AddTween(new VisibilityTween(UI::V_INVISIBLE, UI::V_INVISIBLE, 0.2f, &bezierEaseInOut));
|
||||
loadingViewVisible_->Persist();
|
||||
}
|
||||
|
||||
UI::EventReturn EmuScreen::OnDevTools(UI::EventParams ¶ms) {
|
||||
|
||||
Reference in new issue
Block a user