fix: allow colored tray titles when font type is specified (#30146)

This commit is contained in:
Jeremy Rose 2021-07-15 16:45:20 -07:00 committed by GitHub
parent 1bb689e6dd
commit 0d9e6f29ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@
weight:NSFontWeightRegular]
};
[attributed_title
setAttributes:attributes
addAttributes:attributes
range:NSMakeRange(0, [attributed_title length])];
}
} else if ([font_type isEqualToString:@"monospacedDigit"]) {
@ -132,7 +132,7 @@
weight:NSFontWeightRegular]
};
[attributed_title
setAttributes:attributes
addAttributes:attributes
range:NSMakeRange(0, [attributed_title length])];
}
}