From 35038061f4bcc21430cf45c2147ba59029b45408 Mon Sep 17 00:00:00 2001 From: Rafal Swierczek Date: Tue, 14 May 2024 02:40:30 +0100 Subject: [PATCH] Fixed Mine Waypoint Anchor Issue --- .../Source/EndlessVendetta/UserWidgets/MiniWaypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EndlessVendetta/Source/EndlessVendetta/UserWidgets/MiniWaypoint.cpp b/EndlessVendetta/Source/EndlessVendetta/UserWidgets/MiniWaypoint.cpp index 679372cb..a29a504d 100644 --- a/EndlessVendetta/Source/EndlessVendetta/UserWidgets/MiniWaypoint.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/UserWidgets/MiniWaypoint.cpp @@ -49,7 +49,7 @@ void UMiniWaypoint::NativeTick(const FGeometry& MyGeometry, float InDeltaTime) ScreenLoc.X -= ViewportHalfX; ScreenLoc.Y -= ViewportHalfY; - float ViewportMarginX = ViewportHalfX * 0.8f; + float ViewportMarginX = ViewportHalfX * 0.6f; float ViewportMarginY = ViewportHalfY * 0.6f; ScreenLoc.X = FMath::Clamp(ScreenLoc.X, ViewportMarginX * -1.f, ViewportMarginX);