Skip to content

Commit

Permalink
Removed unused variable in the NativeListItem
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Nov 14, 2020
1 parent 22ddc3e commit d697df9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions LemonUI/Menus/NativeListItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ public override void Recalculate(PointF pos, SizeF size, bool selected)
text.Color = NativeMenu.colorWhiteSmoke;
}
// And set the position of the left arrow and text
float textWidth = RightArrow.Size.Width;
text.Position = new PointF(pos.X + size.Width - textWidth - 1 - text.Width, pos.Y + 3);
text.Position = new PointF(pos.X + size.Width - RightArrow.Size.Width - 1 - text.Width, pos.Y + 3);
LeftArrow.Position = new PointF(text.Position.X - LeftArrow.Size.Width, pos.Y + 4);
}
/// <summary>
Expand Down

0 comments on commit d697df9

Please sign in to comment.