Skip to content

Commit 016384d

Browse files
committed
Merge branch 'Lib_Only' of https://github.com/aiekick/ImGuiFileDialog into Lib_Only
2 parents dfea60c + 2917cd9 commit 016384d

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
@@ -2333,7 +2333,7 @@ namespace IGFD
23332333
if (!vInfos.use_count())
23342334
return;
23352335

2336-
if (ImGui::GetIO().KeyCtrl)
2336+
if (ImGui::IsKeyDown(ImGuiMod_Ctrl))
23372337
{
23382338
if (puDLGcountSelectionMax == 0) // infinite selection
23392339
{
@@ -2361,7 +2361,7 @@ namespace IGFD
23612361
}
23622362
}
23632363
}
2364-
else if (ImGui::GetIO().KeyShift)
2364+
else if (ImGui::IsKeyDown(ImGuiMod_Shift))
23652365
{
23662366
if (puDLGcountSelectionMax != 1)
23672367
{

0 commit comments

Comments
 (0)