fix: allow colored tray titles when font type is specified (#30146)
This commit is contained in:
parent
1bb689e6dd
commit
0d9e6f29ba
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@
|
||||||
weight:NSFontWeightRegular]
|
weight:NSFontWeightRegular]
|
||||||
};
|
};
|
||||||
[attributed_title
|
[attributed_title
|
||||||
setAttributes:attributes
|
addAttributes:attributes
|
||||||
range:NSMakeRange(0, [attributed_title length])];
|
range:NSMakeRange(0, [attributed_title length])];
|
||||||
}
|
}
|
||||||
} else if ([font_type isEqualToString:@"monospacedDigit"]) {
|
} else if ([font_type isEqualToString:@"monospacedDigit"]) {
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
weight:NSFontWeightRegular]
|
weight:NSFontWeightRegular]
|
||||||
};
|
};
|
||||||
[attributed_title
|
[attributed_title
|
||||||
setAttributes:attributes
|
addAttributes:attributes
|
||||||
range:NSMakeRange(0, [attributed_title length])];
|
range:NSMakeRange(0, [attributed_title length])];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue