Skip to content

Commit e13e77d

Browse files
committed
Fix htmlText subtitles
1 parent 872db28 commit e13e77d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

source/funkin/play/components/Subtitles.hx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Subtitles extends FlxSpriteGroup
3333
background.alpha = 0.5;
3434
add(background);
3535

36-
subtitleText = new SubtitlesText(0, 0, 30, Paths.font('vcr.ttf'));
36+
subtitleText = new SubtitlesText(0, 0, 30, 'VCR OSD Mono');
3737
add(subtitleText);
3838

3939
setText([], true);
@@ -165,6 +165,11 @@ class SubtitlesText extends FlxText
165165
}
166166
return Text;
167167
}
168+
169+
override function applyFormats(_:openfl.text.TextFormat, __:Bool = false):Void
170+
{
171+
// This function shouldn't get called because it messes up `htmlText`.
172+
}
168173
}
169174

170175
/**

0 commit comments

Comments
 (0)