Skip to content

Commit 4a39544

Browse files
committed
Fix captions color preview
1 parent 7c32974 commit 4a39544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/CaptionsColorsProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class CaptionsColorsProvider implements vscode.DocumentColorProvider {
1919

2020
// Get a line that isn't empty
2121
const kv = kvDoc.getKeyValueAt(i);
22-
if (kv == null)
22+
if (kv == null || kv.values.length === 0)
2323
continue;
2424

2525
const clrInfo: ClrTagInfo[] = populateColorTagMatches(kv.value.content);

0 commit comments

Comments
 (0)