Skip to content

Commit 8ac88a5

Browse files
committed
Fix inability to exit from ImGui color picker
1 parent ac52f73 commit 8ac88a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/editor_base_input.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ void ide::IR_OnKeyboardPress(int key)
361361
break;
362362

363363
case kQUIT:
364-
if (io.WantTextInput)
364+
if (io.WantTextInput || Device.GetImGuiContext()->DebugItemPickerActive)
365365
break; // bypass to ImGui
366366

367367
// First

0 commit comments

Comments
 (0)