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

Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
This commit is contained in:
trop[bot]
2021-07-27 09:15:37 +09:00
committed by GitHub
parent e38d14e6ac
commit 32c14a8255

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])];
}
}