|
|
@ -2295,7 +2295,7 @@ void ImGui::NewFrame() |
|
|
|
if (g.WantCaptureMouseNextFrame != -1) |
|
|
|
if (g.WantCaptureMouseNextFrame != -1) |
|
|
|
g.IO.WantCaptureMouse = (g.WantCaptureMouseNextFrame != 0); |
|
|
|
g.IO.WantCaptureMouse = (g.WantCaptureMouseNextFrame != 0); |
|
|
|
else |
|
|
|
else |
|
|
|
g.IO.WantCaptureMouse = (mouse_avail_to_imgui && (g.HoveredWindow != NULL || mouse_any_down)) || (g.ActiveId != 0) || (!g.OpenPopupStack.empty()); |
|
|
|
g.IO.WantCaptureMouse = (mouse_avail_to_imgui && (g.HoveredWindow != NULL || mouse_any_down)) || (!g.OpenPopupStack.empty()); |
|
|
|
g.IO.WantCaptureKeyboard = (g.WantCaptureKeyboardNextFrame != -1) ? (g.WantCaptureKeyboardNextFrame != 0) : (g.ActiveId != 0); |
|
|
|
g.IO.WantCaptureKeyboard = (g.WantCaptureKeyboardNextFrame != -1) ? (g.WantCaptureKeyboardNextFrame != 0) : (g.ActiveId != 0); |
|
|
|
g.IO.WantTextInput = (g.WantTextInputNextFrame != -1) ? (g.WantTextInputNextFrame != 0) : 0; |
|
|
|
g.IO.WantTextInput = (g.WantTextInputNextFrame != -1) ? (g.WantTextInputNextFrame != 0) : 0; |
|
|
|
g.MouseCursor = ImGuiMouseCursor_Arrow; |
|
|
|
g.MouseCursor = ImGuiMouseCursor_Arrow; |
|
|
|