Fixed Mine Waypoint Anchor Issue
This commit is contained in:
parent
96f2566f12
commit
35038061f4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user