Resize window when reloading config
@@ -1060,6 +1060,7 @@ static void right_aligned_text(float off_x, const char *fmt, ...)
void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2& window_size, unsigned width, unsigned height, bool is_vulkan)
{
static float char_width = ImGui::CalcTextSize("A").x;
+ window_size = ImVec2(params.width, params.height);
if (!params.no_display){
ImGui::Begin("Main", &open, ImGuiWindowFlags_NoDecoration);
