add a drives button

This commit is contained in:
tildearrow 2025-09-27 15:01:23 -05:00
parent 963ec94fd0
commit 3eb4e02690

View file

@ -657,6 +657,14 @@ bool FurnaceFilePicker::draw() {
}
#endif
}
#ifdef _WIN32
// drives button only on Windows
ImGui::SameLine();
if (ImGui::Button(ICON_FA_HDD_O "##DriveList")) {
newDir="";
readDrives=true;
}
#endif
ImGui::SameLine();
if (ImGui::Button(ICON_FA_PENCIL "##EditPath")) {
editablePath=path;