mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: return RGBA values from getSystemColor (#30088)
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
This commit is contained in:
@@ -420,7 +420,7 @@ std::string SystemPreferences::GetSystemColor(gin_helper::ErrorThrower thrower,
|
||||
return "";
|
||||
}
|
||||
|
||||
return ToRGBHex(skia::NSSystemColorToSkColor(sysColor));
|
||||
return ToRGBAHex(skia::NSSystemColorToSkColor(sysColor));
|
||||
}
|
||||
|
||||
bool SystemPreferences::CanPromptTouchID() {
|
||||
|
||||
Reference in New Issue
Block a user