Skip to content

Commit

Permalink
UI Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Aug 31, 2024
1 parent 01cede5 commit 0192d59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/UI/RButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ protected override void OnPaint(PaintEventArgs pevent)
using (Brush brush = new SolidBrush(borderColor))
{
var radius = ratio * 10;
var padding = ratio * 10;
pevent.Graphics.FillEllipse(brush, rectSurface.Width - padding - (2 * radius), padding, radius + radius, radius + radius);
pevent.Graphics.FillEllipse(brush, rectSurface.Width - rectSurface.Height / 2 - radius, rectSurface.Height / 2 - radius, radius + radius, radius + radius);
}
}

Expand Down

0 comments on commit 0192d59

Please sign in to comment.