We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Close
1 parent b7a025a commit 4b0e235Copy full SHA for 4b0e235
OptiScaler/menu/menu_common.cpp
@@ -3150,8 +3150,17 @@ bool MenuCommon::RenderMenu()
3150
3151
if (ImGui::Button("Close"))
3152
{
3153
- _showMipmapCalcWindow = false;
3154
_isVisible = false;
+
3155
+ io.ConfigFlags = ImGuiConfigFlags_NavNoCaptureKeyboard | ImGuiConfigFlags_NoMouse | ImGuiConfigFlags_NoMouseCursorChange | ImGuiConfigFlags_NoKeyboard;
3156
3157
+ if (pfn_ClipCursor_hooked)
3158
+ pfn_ClipCursor(&_cursorLimit);
3159
3160
+ _showMipmapCalcWindow = false;
3161
+ io.MouseDrawCursor = false;
3162
+ io.WantCaptureKeyboard = false;
3163
+ io.WantCaptureMouse = false;
3164
}
3165
3166
ImGui::Spacing();
0 commit comments