5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-17 01:19:29 +08:00

Remove autorelease of colour. Fixes high sierra.

This commit is contained in:
Lea Anthony 2021-03-30 22:21:49 +11:00
parent 54c99fc386
commit d70f6fffe7
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -617,7 +617,6 @@ id createAttributedString(const char* title, const char* fontName, int fontSize,
(CGFloat)a / (CGFloat)255.0);
id NSForegroundColorAttributeName = lookupStringConstant(str("NSForegroundColorAttributeName"));
msg_id_id(dictionary, s("setObject:forKey:"), colour, NSForegroundColorAttributeName);
msg_reg(colour, s("autorelease"));
}
}