gitadora: prevent window resize (#529)

## Link to GitHub Issue, if one exists
n/a

## Description of change
Gitadora (pre-Delta) tends to soft lock, have graphical issues (menu bg
render as black), or take a long time (minutes) between scene
transitions when window is resized.
This commit is contained in:
bicarus
2026-01-22 00:51:12 -08:00
committed by GitHub
parent 9fd9290cd3
commit cb59fe14e9
3 changed files with 41 additions and 0 deletions
@@ -233,6 +233,14 @@ namespace overlay::windows {
bool changed = false;
const uint32_t step = 1;
const uint32_t step_fast = 10;
if (graphics_window_resize_breaks_game()) {
ImGui::TextColored(ImVec4(1, 0.5f, 0.5f, 1.f),
"GITADORA tends to hang or have graphical\n"
"glitches when window is resized; resize\n"
"controls are disabled.");
}
ImGui::BeginDisabled(graphics_window_resize_breaks_game());
ImGui::BeginDisabled(cfg::SCREENRESIZE->client_keep_aspect_ratio);
ImGui::InputScalar(
"Width",
@@ -248,6 +256,7 @@ namespace overlay::windows {
&cfg::SCREENRESIZE->client_height,
&step, &step_fast, nullptr);
changed |= ImGui::IsItemDeactivatedAfterEdit();
ImGui::EndDisabled();
ImGui::InputScalar(
"X Offset",