From a2d3972eb32e8ef4858c0895a1ed1bdb2d0c059a Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Tue, 7 Mar 2023 13:00:14 +0000 Subject: [PATCH] Fix checkbox being tinted pink because of FSlateColor no longer defaulting to white --- Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.h b/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.h index 05b3c9e..20f5259 100644 --- a/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.h +++ b/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.h @@ -21,8 +21,8 @@ class SFocusableCheckBox : public SCheckBox , _ClickMethod( EButtonClickMethod::DownAndUp ) , _TouchMethod(EButtonTouchMethod::DownAndUp) , _PressMethod(EButtonPressMethod::DownAndUp) - , _ForegroundColor() - , _BorderBackgroundColor () + , _ForegroundColor(FSlateColor(FColor::White)) + , _BorderBackgroundColor (FSlateColor(FColor::White)) , _IsFocusable( true ) , _UncheckedImage( nullptr ) , _UncheckedHoveredImage( nullptr )