Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
Clear note field
Browse files Browse the repository at this point in the history
  • Loading branch information
Kangaroux committed Dec 27, 2020
1 parent a579bd4 commit b3b4409
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpenChart/src/UI/Components/NoteField/NoteField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public NoteField(NoteFieldSettings noteFieldSettings, BeatLineSettings beatLineS

public override void Draw(Cairo.Context ctx)
{
ctx.SetSourceColor(bgColor);
ctx.Paint();
ctx.Translate((ctx.ClipExtents().Width - NoteFieldSettings.NoteFieldWidth) / 2, NoteFieldSettings.Y);
base.Draw(ctx);
}
Expand Down

0 comments on commit b3b4409

Please sign in to comment.