We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e7e11f + 74b4f9f commit f9969a0Copy full SHA for f9969a0
1 file changed
src/RemoteTech/UI/FocusOverlay.cs
@@ -38,7 +38,7 @@ private Rect PositionButton
38
var position = KnowledgeBase.Instance.KnowledgeContainer.transform.position;
39
var position2 = UIManager.instance.rayCamera.WorldToScreenPoint(position);
40
var rect = new Rect(position2.x + 154,
41
- 250 + 2 * 31,
+ 250 - 1 * 31,
42
Texture.Satellite.width,
43
Texture.Satellite.height);
44
return rect;
@@ -50,7 +50,7 @@ private Rect PositionFrame
50
get
51
{
52
var rect = new Rect(0, 0, 250, 500);
53
- rect.y = PositionButton.y + PositionButton.height / 2 - rect.height / 2;
+ rect.y = PositionButton.y;
54
rect.x = PositionButton.x - 5 - rect.width;
55
56
}
0 commit comments