This commit is contained in:
LTVA1 2023-12-06 16:13:15 +03:00
parent c81de06ff2
commit b006dfe799

View file

@ -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));