mirror of
				https://github.com/kevinporetti/UnrealImGui.git
				synced 2025-11-03 23:33:16 +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
 | 
					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)
 | 
					Version: 1.15 (2019/04)
 | 
				
			||||||
- Added new FImGuiDelegates interface for ImGui debug delegates.
 | 
					- Added new FImGuiDelegates interface for ImGui debug delegates.
 | 
				
			||||||
- Added code preserving delegates during hot-reloading and moving them to a new module.
 | 
					- 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
 | 
					Status
 | 
				
			||||||
------
 | 
					------
 | 
				
			||||||
 | 
					Version: 1.16
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ImGui version: 1.65
 | 
					ImGui version: 1.65
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Supported engine version: 4.22*
 | 
					Supported engine version: 4.22*
 | 
				
			||||||
 | 
				
			|||||||
@ -26,11 +26,13 @@ void SImGuiLayout::Construct(const FArguments& InArgs)
 | 
				
			|||||||
		.IgnoreInheritedScale(true)
 | 
							.IgnoreInheritedScale(true)
 | 
				
			||||||
		.HAlign(HAlign_Fill)
 | 
							.HAlign(HAlign_Fill)
 | 
				
			||||||
		.VAlign(VAlign_Fill)
 | 
							.VAlign(VAlign_Fill)
 | 
				
			||||||
 | 
							.Visibility(EVisibility::SelfHitTestInvisible)
 | 
				
			||||||
		[
 | 
							[
 | 
				
			||||||
			// Apply custom scale if necessary.
 | 
								// Apply custom scale if necessary.
 | 
				
			||||||
			// TODO: Bind to relevant parameter.
 | 
								// TODO: Bind to relevant parameter.
 | 
				
			||||||
			SNew(SDPIScaler)
 | 
								SNew(SDPIScaler)
 | 
				
			||||||
			.DPIScale(1.f)
 | 
								.DPIScale(1.f)
 | 
				
			||||||
 | 
								.Visibility(EVisibility::SelfHitTestInvisible)
 | 
				
			||||||
			[
 | 
								[
 | 
				
			||||||
				SNew(SConstraintCanvas)
 | 
									SNew(SConstraintCanvas)
 | 
				
			||||||
				+ SConstraintCanvas::Slot()
 | 
									+ SConstraintCanvas::Slot()
 | 
				
			||||||
@ -51,5 +53,7 @@ void SImGuiLayout::Construct(const FArguments& InArgs)
 | 
				
			|||||||
			]
 | 
								]
 | 
				
			||||||
		]
 | 
							]
 | 
				
			||||||
	];
 | 
						];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						SetVisibility(EVisibility::SelfHitTestInvisible);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
END_SLATE_FUNCTION_BUILD_OPTIMIZATION
 | 
					END_SLATE_FUNCTION_BUILD_OPTIMIZATION
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user