fix
This commit is contained in:
parent
c81de06ff2
commit
b006dfe799
|
|
@ -30,7 +30,7 @@ void FurnaceGUI::drawXYOsc() {
|
||||||
nextWindow=GUI_WINDOW_NOTHING;
|
nextWindow=GUI_WINDOW_NOTHING;
|
||||||
}
|
}
|
||||||
if (!xyOscOpen) return;
|
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;
|
bool noPadding=settings.oscTakesEntireWindow && !xyOscOptions;
|
||||||
if (noPadding) {
|
if (noPadding) {
|
||||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding,ImVec2(0,0));
|
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding,ImVec2(0,0));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue