Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qubqub committed Aug 27, 2023
1 parent bf472ec commit 6572520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controls/TransparentLabel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void Draw(Graphics g) {
}
brFore.Color = this.LevelColor.IsEmpty ? this.ForeColor : Color.White;
stringFormat.Alignment = StringAlignment.Near;
this.DrawOutlineText(g, new RectangleF(roundRect.X + 0.33f, ClientRectangle.Y, this.ClientRectangle.Width, this.ClientRectangle.Height), null, brFore, fontForLongText.FontFamily, fontForLongText.Style, fontForLongText.Size, this.TextRight, stringFormat);
this.DrawOutlineText(g, new RectangleF(roundRect.X + 0.2f, ClientRectangle.Y, this.ClientRectangle.Width, this.ClientRectangle.Height), null, brFore, fontForLongText.FontFamily, fontForLongText.Style, fontForLongText.Size, this.TextRight, stringFormat);
} else {
brFore.Color = this.LevelColor.IsEmpty ? this.ForeColor : Color.White;
this.DrawOutlineText(g, this.ClientRectangle, null, brFore, fontForLongText.FontFamily, fontForLongText.Style, fontForLongText.Size, this.TextRight, stringFormat);
Expand Down

0 comments on commit 6572520

Please sign in to comment.