Fix #2057
This commit is contained in:
parent
272e5a4f2d
commit
aa23e2ec99
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ function byTagPreference(a, b) {
|
|||
ub = b.tag.toUpperCase();
|
||||
if (ua < ub) return -1;
|
||||
if (ua > ub) return 1;
|
||||
return 0;
|
||||
return a.rank - b.rank;
|
||||
}
|
||||
function queryCvFeatureTagsOf(sink, gid, glyph, tagSet) {
|
||||
const cvs = AnyCv.query(glyph).sort(byTagPreference);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue