mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 08:20:32 +00:00
Making sure that mouse sharing options don't interfere with touch input.
This commit is contained in:
parent
95d27334fe
commit
9e5975c9bb
@ -393,6 +393,9 @@ void SImGuiWidget::UpdateInputState()
|
||||
auto* ContextPropxy = ModuleManager->GetContextManager().GetContextProxy(ContextIndex);
|
||||
|
||||
const bool bEnableTransparentMouseInput = Properties.IsMouseInputShared()
|
||||
#if PLATFORM_ANDROID || PLATFORM_IOS
|
||||
&& (FSlateApplication::Get().GetCursorPos() != FVector2D::ZeroVector)
|
||||
#endif
|
||||
&& !(ContextPropxy->IsMouseHoveringAnyWindow() || ContextPropxy->HasActiveItem());
|
||||
if (bTransparentMouseInput != bEnableTransparentMouseInput)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user