From b006dfe7994c1a0b1ba3ed5b874ed8e1f52a57eb Mon Sep 17 00:00:00 2001 From: LTVA1 <87536432+LTVA1@users.noreply.github.com> Date: Wed, 6 Dec 2023 16:13:15 +0300 Subject: [PATCH 1/3] fix --- src/gui/xyOsc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/xyOsc.cpp b/src/gui/xyOsc.cpp index 3a00b811d..93f939eba 100644 --- a/src/gui/xyOsc.cpp +++ b/src/gui/xyOsc.cpp @@ -30,7 +30,7 @@ void FurnaceGUI::drawXYOsc() { nextWindow=GUI_WINDOW_NOTHING; } if (!xyOscOpen) return; - ImGui::SetNextWindowSizeConstraints(ImVec2(64.0f*dpiScale,32.0f*dpiScale),ImVec2(canvasW,canvasH)); + ImGui::SetNextWindowSizeConstraints(ImVec2(300.0f*dpiScale,300.0f*dpiScale),ImVec2(canvasW,canvasH)); bool noPadding=settings.oscTakesEntireWindow && !xyOscOptions; if (noPadding) { ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding,ImVec2(0,0)); From 69c1701c85e6fd5e4d824c285498f8b70c911612 Mon Sep 17 00:00:00 2001 From: LTVA1 <87536432+LTVA1@users.noreply.github.com> Date: Wed, 6 Dec 2023 21:11:41 +0300 Subject: [PATCH 2/3] fix --- src/gui/gui.cpp | 5 +++++ src/gui/xyOsc.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index bf35f058e..0c52bca32 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1036,6 +1036,11 @@ Pos=60,60\n\ Size=145,184\n\ Collapsed=0\n\ \n\ +[Window][Oscilloscope (X-Y)]\n\ +Pos=60,60\n\ +Size=128,128\n\ +Collapsed=0\n\ +\n\ [Docking][Data]\n\ DockSpace ID=0x8B93E3BD Window=0xA787BDB4 Pos=0,24 Size=1280,776 Split=Y Selected=0x6C01C512\n\ DockNode ID=0x00000001 Parent=0x8B93E3BD SizeRef=1280,217 Split=X Selected=0xF3094A52\n\ diff --git a/src/gui/xyOsc.cpp b/src/gui/xyOsc.cpp index 93f939eba..28136d645 100644 --- a/src/gui/xyOsc.cpp +++ b/src/gui/xyOsc.cpp @@ -30,7 +30,7 @@ void FurnaceGUI::drawXYOsc() { nextWindow=GUI_WINDOW_NOTHING; } if (!xyOscOpen) return; - ImGui::SetNextWindowSizeConstraints(ImVec2(300.0f*dpiScale,300.0f*dpiScale),ImVec2(canvasW,canvasH)); + ImGui::SetNextWindowSizeConstraints(ImVec2(128.0f*dpiScale,128.0f*dpiScale),ImVec2(canvasW,canvasH)); bool noPadding=settings.oscTakesEntireWindow && !xyOscOptions; if (noPadding) { ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding,ImVec2(0,0)); From 7373f30e23d2c49bd624f9bf03b0f7b3cdd6543c Mon Sep 17 00:00:00 2001 From: LTVA1 <87536432+LTVA1@users.noreply.github.com> Date: Thu, 7 Dec 2023 07:47:46 +0300 Subject: [PATCH 3/3] Update gui.cpp --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 0c52bca32..ac1d24bd1 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1038,7 +1038,7 @@ Collapsed=0\n\ \n\ [Window][Oscilloscope (X-Y)]\n\ Pos=60,60\n\ -Size=128,128\n\ +Size=300,300\n\ Collapsed=0\n\ \n\ [Docking][Data]\n\