Skip to content
Snippets Groups Projects
Commit 918d7cfa authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk
Browse files

fix: image tint color


Image used in multiple places have same tint color. This patch creates
copy before tint image to have the possibility to use different colors.

Change-Id: I8dea84e283660b67a124c96d2ff42dc198eb8b97
Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 43a79239
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ return [NSColor colorWithCalibratedRed:59/255.0 green:193/255.0 blue:211/255.0 a
+ (NSImage*) image:(NSImage*) img tintedWithColor:(NSColor *)tint
{
NSImage* image = img;
NSImage* image = [img copy];
if (tint) {
[image lockFocus];
[tint set];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment