Skip to content

Commit 4e5ba9a

Browse files
committed
fix(Studio): Text rendering of subpixel indicator in white-mode
1 parent 1363602 commit 4e5ba9a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Studio/CelesteStudio/Editing/GameInfo.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ protected override void DrawCurrentLineHighlight(SKCanvas canvas, float carY, SK
211211
}
212212

213213
private sealed class SubpixelIndicator : SkiaDrawable {
214+
public SubpixelIndicator() {
215+
BackgroundColor = Settings.Instance.Theme.StatusBg;
216+
Settings.ThemeChanged += () => BackgroundColor = Settings.Instance.Theme.StatusBg;
217+
}
218+
214219
public override void Draw(SKSurface surface) {
215220
var canvas = surface.Canvas;
216221

0 commit comments

Comments
 (0)