From e7c39a0d6fb8513992028d9d98a70bab5bb0d904 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 18 Aug 2024 05:52:50 -0500 Subject: [PATCH] fix --- src/gui/gui.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index a70c4e008..95e8ffd36 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -6627,7 +6627,9 @@ bool FurnaceGUI::loop() { } ImGui::EndPopup(); } -centerNextWindow(_("Select Sample"),canvasW,canvasH); + + // TODO: fix style + centerNextWindow(_("Select Sample"),canvasW,canvasH); if (ImGui::BeginPopupModal(_("Select Sample"),NULL,ImGuiWindowFlags_AlwaysAutoResize)) { bool quitPlease=false; @@ -6673,6 +6675,7 @@ centerNextWindow(_("Select Sample"),canvasW,canvasH); } else { + // TODO:fixstyle from hereonwards ImGuiIO& io = ImGui::GetIO(); if(ImGui::Checkbox(id.c_str(),&pendingSamples[i].second) && io.KeyShift) { @@ -7830,7 +7833,7 @@ bool FurnaceGUI::init() { compatFormats+="*.pdx "; compatFormats+="*.pzi "; compatFormats+="*.p86 "; - compatFormats+="*.p "; + compatFormats+="*.p"; audioLoadFormats[1]=compatFormats; audioLoadFormats.push_back(_("NES DPCM data"));