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

Commit b3b4409

Browse files
committed
Clear note field
1 parent a579bd4 commit b3b4409

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OpenChart/src/UI/Components/NoteField/NoteField.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public NoteField(NoteFieldSettings noteFieldSettings, BeatLineSettings beatLineS
4343

4444
public override void Draw(Cairo.Context ctx)
4545
{
46+
ctx.SetSourceColor(bgColor);
47+
ctx.Paint();
4648
ctx.Translate((ctx.ClipExtents().Width - NoteFieldSettings.NoteFieldWidth) / 2, NoteFieldSettings.Y);
4749
base.Draw(ctx);
4850
}

0 commit comments

Comments
 (0)