Skip to content

Commit f9969a0

Browse files
committed
Merge remote-tracking branch 'Peppie23/sta_button' into develop
2 parents 6e7e11f + 74b4f9f commit f9969a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/RemoteTech/UI/FocusOverlay.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private Rect PositionButton
3838
var position = KnowledgeBase.Instance.KnowledgeContainer.transform.position;
3939
var position2 = UIManager.instance.rayCamera.WorldToScreenPoint(position);
4040
var rect = new Rect(position2.x + 154,
41-
250 + 2 * 31,
41+
250 - 1 * 31,
4242
Texture.Satellite.width,
4343
Texture.Satellite.height);
4444
return rect;
@@ -50,7 +50,7 @@ private Rect PositionFrame
5050
get
5151
{
5252
var rect = new Rect(0, 0, 250, 500);
53-
rect.y = PositionButton.y + PositionButton.height / 2 - rect.height / 2;
53+
rect.y = PositionButton.y;
5454
rect.x = PositionButton.x - 5 - rect.width;
5555
return rect;
5656
}

0 commit comments

Comments
 (0)