mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 10:55:41 -04:00
ImGuiOverlays: Fix incorrect animation when opening state selector
This commit is contained in:
parent
af2042e713
commit
ad41c81fa8
@ -740,8 +740,6 @@ void SaveStateSelectorUI::Open(float open_time /* = DEFAULT_OPEN_TIME */)
|
||||
if (!s_placeholder_texture)
|
||||
s_placeholder_texture = ImGuiFullscreen::LoadTexture("no-save.png");
|
||||
|
||||
s_scroll_animated.Reset(0.0f);
|
||||
s_background_animated.Reset(0.0f);
|
||||
s_open = true;
|
||||
RefreshList(serial);
|
||||
RefreshHotkeyLegend();
|
||||
@ -808,6 +806,8 @@ void SaveStateSelectorUI::Clear()
|
||||
|
||||
s_current_slot = 0;
|
||||
s_current_slot_global = false;
|
||||
s_scroll_animated.Reset(0.0f);
|
||||
s_background_animated.Reset(0.0f);
|
||||
}
|
||||
|
||||
void SaveStateSelectorUI::ClearList()
|
||||
|
Loading…
x
Reference in New Issue
Block a user