mirror of
https://github.com/joel16/NX-Shell.git
synced 2024-11-23 03:39:49 +00:00
popups: Use ImGuiCond_Always when resizing popups
This commit is contained in:
parent
1ded24446c
commit
27898a179b
@ -10,7 +10,7 @@ namespace Popups {
|
||||
inline void SetupPopup(const char *id) {
|
||||
ImGui::OpenPopup(id);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(15, 15));
|
||||
ImGui::SetNextWindowPos(ImVec2(640.0f, 360.0f), ImGuiCond_Appearing, ImVec2(0.5f, 0.5f));
|
||||
ImGui::SetNextWindowPos(ImVec2(640.0f, 360.0f), ImGuiCond_Always, ImVec2(0.5f, 0.5f));
|
||||
};
|
||||
|
||||
inline void ExitPopup(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user