Skip to content

Commit

Permalink
fix: return RGBA values from getSystemColor (electron#30055)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored and BlackHole1 committed Aug 27, 2021
1 parent 2c07313 commit c946e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/electron_api_system_preferences_mac.mm
Expand Up @@ -406,7 +406,7 @@ AVMediaType ParseMediaType(const std::string& media_type) {
return "";
}

return ToRGBHex(skia::NSSystemColorToSkColor(sysColor));
return ToRGBAHex(skia::NSSystemColorToSkColor(sysColor));
}

bool SystemPreferences::CanPromptTouchID() {
Expand Down

0 comments on commit c946e76

Please sign in to comment.