You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda #rb Matt.Kuhlenschmidt #ROBOMERGE-OWNER: Lauren.Barnes #ROBOMERGE-AUTHOR: lauren.barnes #ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690) #ROBOMERGE-CONFLICT from-shelf [CL 20105363 by Lauren Barnes in ue5-main branch]
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include "GraphEditor.h"
|
||||
#include "Layout/ArrangedChildren.h"
|
||||
#include "Types/PaintArgs.h"
|
||||
#include "EditorStyleSet.h"
|
||||
#include "Styling/AppStyle.h"
|
||||
#include "Layout/LayoutUtils.h"
|
||||
#include "MarqueeOperation.h"
|
||||
#include "Templates/UniquePtr.h"
|
||||
@@ -564,7 +564,7 @@ public:
|
||||
/** @return The brush to use for drawing the shadow for this node */
|
||||
virtual const FSlateBrush* GetShadowBrush(bool bSelected) const
|
||||
{
|
||||
return bSelected ? FEditorStyle::GetBrush(TEXT("Graph.Node.ShadowSelected")) : FEditorStyle::GetBrush(TEXT("Graph.Node.Shadow"));
|
||||
return bSelected ? FAppStyle::GetBrush(TEXT("Graph.Node.ShadowSelected")) : FAppStyle::GetBrush(TEXT("Graph.Node.Shadow"));
|
||||
}
|
||||
|
||||
/** Populate the brushes array with any overlay brushes to render */
|
||||
@@ -636,7 +636,7 @@ public:
|
||||
protected:
|
||||
SNode()
|
||||
: BorderImage( FCoreStyle::Get().GetBrush( "NoBorder" ) )
|
||||
, BorderBackgroundColor( FEditorStyle::GetColor("Graph.ForegroundColor"))
|
||||
, BorderBackgroundColor( FAppStyle::GetColor("Graph.ForegroundColor"))
|
||||
, DesiredSizeScale(FVector2D(1,1))
|
||||
, Children(this)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user