Compilation warning fix

This commit is contained in:
Bruno Herbelin
2022-03-18 21:46:22 +01:00
parent f4b6db9404
commit 5582ee8ed8
3 changed files with 3 additions and 3 deletions

View File

@@ -475,7 +475,7 @@ void UserInterface::handleMouse()
}
// if not on any window
if ( !ImGui::IsAnyWindowHovered() && !ImGui::IsAnyWindowFocused() )
if ( !ImGui::IsWindowHovered(ImGuiHoveredFlags_AnyWindow) && !ImGui::IsWindowFocused(ImGuiHoveredFlags_AnyWindow) )
{
//
// Mouse wheel over background