fix: return RGBA values from getSystemColor (#30055)

This commit is contained in:
Jeremy Rose 2021-07-12 11:08:10 -07:00 committed by GitHub
parent 36079b822a
commit 0cb5631b0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -406,7 +406,7 @@ std::string SystemPreferences::GetSystemColor(gin_helper::ErrorThrower thrower,
return "";
}
return ToRGBHex(skia::NSSystemColorToSkColor(sysColor));
return ToRGBAHex(skia::NSSystemColorToSkColor(sysColor));
}
bool SystemPreferences::CanPromptTouchID() {