GUI: set debug window size constraints

This commit is contained in:
tildearrow 2022-02-10 21:14:27 -05:00
parent 88680f594c
commit dc46c67d9f
1 changed files with 1 additions and 0 deletions

View File

@ -4026,6 +4026,7 @@ void FurnaceGUI::drawDebug() {
static int bpTick;
static bool bpOn;
if (!debugOpen) return;
ImGui::SetNextWindowSizeConstraints(ImVec2(400.0f*dpiScale,200.0f*dpiScale),ImVec2(scrW*dpiScale,scrH*dpiScale));
if (ImGui::Begin("Debug",&debugOpen,ImGuiWindowFlags_NoDocking)) {
ImGui::Text("NOTE: use with caution.");
if (ImGui::TreeNode("Debug Controls")) {