Skip to content

Commit

Permalink
Remove the centre offset for menu scroll indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianetta committed Apr 26, 2021
1 parent ad76752 commit 5427243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Projector Aligner/ManagedDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void DrawCursor()

private void AddHeading(int menuLength)
{
Position = new Vector2(viewport.Width / 2f - LineHeight, StartHeight) + viewport.Position;
Position = new Vector2(viewport.Width / 2f, StartHeight) + viewport.Position;
frame.Add(new MySprite()
{
Type = SpriteType.TEXT,
Expand Down Expand Up @@ -93,7 +93,7 @@ private void AddHeading(int menuLength)
Size = new Vector2(LineHeight, LineHeight),
Position = Position,
});
Position = new Vector2(viewport.Width / 2f - LineHeight, StartHeight + HeadingHeight) + viewport.Position;
Position = new Vector2(viewport.Width / 2f, StartHeight + HeadingHeight) + viewport.Position;
frame.Add(new MySprite()
{
Type = SpriteType.TEXT,
Expand Down

0 comments on commit 5427243

Please sign in to comment.