mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
fix sdl/qt
This commit is contained in:
parent
e5bf841cc8
commit
852168121f
@ -241,8 +241,10 @@ void AddTrophyToQueue(const std::filesystem::path& trophyIconPath, const std::st
|
|||||||
trophy_queue.push(new_trophy);
|
trophy_queue.push(new_trophy);
|
||||||
|
|
||||||
if (!current_trophy_ui.has_value()) {
|
if (!current_trophy_ui.has_value()) {
|
||||||
// Resetting the animation for the next trophy
|
#ifdef ENABLE_QT_GUI
|
||||||
BackgroundMusicPlayer::getInstance().stopMusic();
|
BackgroundMusicPlayer::getInstance().stopMusic();
|
||||||
|
#endif
|
||||||
|
// Resetting the animation for the next trophy
|
||||||
elapsed_time = 0.0f; // Resetting animation time
|
elapsed_time = 0.0f; // Resetting animation time
|
||||||
fade_opacity = 0.0f; // Starts invisible
|
fade_opacity = 0.0f; // Starts invisible
|
||||||
start_pos = ImVec2(1280.0f, 50.0f); // Starts off screen, right
|
start_pos = ImVec2(1280.0f, 50.0f); // Starts off screen, right
|
||||||
|
Loading…
Reference in New Issue
Block a user