diff --git a/client/src/overlay/fps.c b/client/src/overlay/fps.c index dce50054..ca2a7176 100644 --- a/client/src/overlay/fps.c +++ b/client/src/overlay/fps.c @@ -41,7 +41,7 @@ static int fps_render(void * udata, bool interactive, struct Rect * windowRects, ImVec2 pos = {0.0f, 0.0f}; igSetNextWindowBgAlpha(0.6f); - igSetNextWindowPos(pos, 0, pos); + igSetNextWindowPos(pos, ImGuiCond_FirstUseEver, pos); igPushStyleVarVec2(ImGuiStyleVar_WindowPadding, (ImVec2) { 4.0f , 4.0f }); igPushStyleVarVec2(ImGuiStyleVar_WindowMinSize, (ImVec2) { 0.0f , 0.0f }); diff --git a/client/src/overlay/graphs.c b/client/src/overlay/graphs.c index 63a42063..44682ffc 100644 --- a/client/src/overlay/graphs.c +++ b/client/src/overlay/graphs.c @@ -99,7 +99,7 @@ static int graphs_render(void * udata, bool interactive, ImVec2 pos = {0.0f, 0.0f}; igSetNextWindowBgAlpha(0.4f); - igSetNextWindowPos(pos, 0, pos); + igSetNextWindowPos(pos, ImGuiCond_FirstUseEver, pos); igBegin( "Performance Metrics",