file picker improvements

center window in particular
This commit is contained in:
tildearrow 2025-09-28 03:03:09 -05:00
parent d81d8ff6aa
commit 2fc4288f9f
4 changed files with 52 additions and 17 deletions

View file

@ -355,7 +355,7 @@ void FurnaceGUI::drawDebug() {
);
if (ImGui::Button("Open")) {
newFilePicker->open("New File Picker","/home",fpFlags,
newFilePicker->open("New File Picker","/home","",fpFlags,
{_("songs"), "*.fur *.dmf *.mod *.s3m *.xm *.it *.fc13 *.fc14 *.smod *.fc *.ftm *.0cc *.dnm *.eft *.fub *.tfe",
_("instruments"), "*.fui *.dmp *.tfi *.vgi *.s3i *.sbi *.opli *.opni *.y12 *.bnk *.ff *.gyb *.opm *.wopl *.wopn",
_("audio"), "*.wav",