mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 08:20:32 +00:00
Fixed resizing of ImGui windows with shared mouse input.
This commit is contained in:
parent
5e4b7084de
commit
e651b0f88f
@ -377,7 +377,8 @@ void SImGuiWidget::UpdateInputState()
|
||||
auto& Properties = ModuleManager->GetProperties();
|
||||
auto* ContextPropxy = ModuleManager->GetContextManager().GetContextProxy(ContextIndex);
|
||||
|
||||
const bool bEnableTransparentMouseInput = Properties.IsMouseInputShared() && !ContextPropxy->IsMouseHoveringAnyWindow();
|
||||
const bool bEnableTransparentMouseInput = Properties.IsMouseInputShared()
|
||||
&& !(ContextPropxy->IsMouseHoveringAnyWindow() || ContextPropxy->HasActiveItem());
|
||||
if (bTransparentMouseInput != bEnableTransparentMouseInput)
|
||||
{
|
||||
bTransparentMouseInput = bEnableTransparentMouseInput;
|
||||
|
Loading…
Reference in New Issue
Block a user