mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 00:10:32 +00:00
Fixed issue with SImGuiLayout blocking mouse input for other Slate widgets, which was introduced by refactorization of widgets (version 1.14, commit c144658f
):
- Changed visibility of widgets in ImGui layout from 'Visible' to 'SelfHitTestInvisible'.
This commit is contained in:
parent
4668d5efad
commit
59dc8decf8
@ -5,6 +5,9 @@ Versions marked as 'unofficial' are labelled only for the needs of this changelo
|
||||
Change History
|
||||
--------------
|
||||
|
||||
Version: 1.16 (2019/05)
|
||||
- Fixed issue with SImGuiLayout blocking mouse input for other Slate widgets, which was introduced by refactorization of widgets (version 1.14, commit c144658f).
|
||||
|
||||
Version: 1.15 (2019/04)
|
||||
- Added new FImGuiDelegates interface for ImGui debug delegates.
|
||||
- Added code preserving delegates during hot-reloading and moving them to a new module.
|
||||
|
@ -10,6 +10,8 @@ Dear ImGui simplifies and helps with creation of quality visualisation and debug
|
||||
|
||||
Status
|
||||
------
|
||||
Version: 1.16
|
||||
|
||||
ImGui version: 1.65
|
||||
|
||||
Supported engine version: 4.22*
|
||||
|
@ -26,11 +26,13 @@ void SImGuiLayout::Construct(const FArguments& InArgs)
|
||||
.IgnoreInheritedScale(true)
|
||||
.HAlign(HAlign_Fill)
|
||||
.VAlign(VAlign_Fill)
|
||||
.Visibility(EVisibility::SelfHitTestInvisible)
|
||||
[
|
||||
// Apply custom scale if necessary.
|
||||
// TODO: Bind to relevant parameter.
|
||||
SNew(SDPIScaler)
|
||||
.DPIScale(1.f)
|
||||
.Visibility(EVisibility::SelfHitTestInvisible)
|
||||
[
|
||||
SNew(SConstraintCanvas)
|
||||
+ SConstraintCanvas::Slot()
|
||||
@ -51,5 +53,7 @@ void SImGuiLayout::Construct(const FArguments& InArgs)
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
SetVisibility(EVisibility::SelfHitTestInvisible);
|
||||
}
|
||||
END_SLATE_FUNCTION_BUILD_OPTIMIZATION
|
||||
|
Loading…
Reference in New Issue
Block a user