Skip to content

Commit

Permalink
[f] should clear all script text formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Jun 5, 2024
1 parent 46a6c70 commit e446a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/db/src/Component/Script.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ export function parseDialogueLine(region: Region, line: string, parserState: Par
case "f":
case "fontSize":
case "font":
if (parameters[1] === "-") {
if (parameters[1] === "-" || parameters[1] === undefined) {
parserDialogueState.size = undefined;
parsed = true;
break;
Expand Down

0 comments on commit e446a94

Please sign in to comment.