Files
UnrealEngineUWP/Engine/Source/Runtime/SlateCore
yohann dossantos b3a67f9854 [Backout] - CL25531508
[FYI] yohann.dossantos
Original CL Desc
-----------------------------------------------------------------
Fix incorrectly displayed text. In Slate, wrapping text needs 2 draws to be displayed properly, otherwise some incorrect value are used. In the case of this bug, the text was offseted with a value based on the text width without wrapping (as if it was single line)  instead of the correct width with wrapping applied. An invalidation of the widget was called, but as the invalidation was not supported in this code path (WidgetComponent + WidgetRendere::DrawWindow), it was ignored.

Now the WidgetRenderer::DrawWindow support Invalidation Root, and the WidgetComponent enabled the Invalidation on the VirtualWindow it uses, and do only the necessary amount of Tick.

#jira UE-FORT-594200
#rb patrick.boutot
#tests Repro steps from the jira, no longer occurs. Tested that hit testing was still working properly by using a widget with buttons in the widgetcomponent. Tested with and without the new setting bIsInvalidationEnabled activated.
#preflight 646664b7a133ca477bc93c69

[CL 25545951 by yohann dossantos in ue5-main branch]
2023-05-19 12:01:41 -04:00
..
2023-05-19 12:01:41 -04:00
2023-05-19 12:01:41 -04:00