Skip to content

Commit 2917cd9

Browse files
committed
-
1 parent 90a35b0 commit 2917cd9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ImGuiFileDialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2341,7 +2341,7 @@ namespace IGFD
23412341
if (!vInfos.use_count())
23422342
return;
23432343

2344-
if (ImGui::GetIO().KeyCtrl)
2344+
if (ImGui::IsKeyDown(ImGuiMod_Ctrl))
23452345
{
23462346
if (puDLGcountSelectionMax == 0) // infinite selection
23472347
{
@@ -2369,7 +2369,7 @@ namespace IGFD
23692369
}
23702370
}
23712371
}
2372-
else if (ImGui::GetIO().KeyShift)
2372+
else if (ImGui::IsKeyDown(ImGuiMod_Shift))
23732373
{
23742374
if (puDLGcountSelectionMax != 1)
23752375
{

0 commit comments

Comments
 (0)