Skip to content

Commit b71266d

Browse files
committed
Fixed graphical glitch when single-clicking items.
1 parent cecd225 commit b71266d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ImGuiFileDialog.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,13 +1510,12 @@ namespace IGFD
15101510
if (ImGui::IsMouseDoubleClicked(0)) // 0 -> left mouse button double click
15111511
{
15121512
m_PathClicked = SelectDirectory(vInfos);
1513+
return true; // needToBreakTheloop
15131514
}
15141515
else if (dlg_filters.empty()) // directory chooser
15151516
{
15161517
SelectFileName(vInfos);
15171518
}
1518-
1519-
return true; // needToBreakTheloop
15201519
}
15211520
else
15221521
{

0 commit comments

Comments
 (0)