Skip to content

Commit

Permalink
scope inspector: semantic color rules from settings not correctly shown
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Jul 9, 2020
1 parent 7d8d31a commit 33b51eb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -162,7 +162,7 @@ export namespace SemanticTokenRule {
&& TokenStyle.equals(r1.style, r2.style);
}
export function is(r: any): r is SemanticTokenRule {
return r && r.selector && typeof r.selector.selectorString === 'string' && TokenStyle.is(r.style);
return r && r.selector && typeof r.selector.id === 'string' && TokenStyle.is(r.style);
}
}

Expand Down

0 comments on commit 33b51eb

Please sign in to comment.