1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 05:15:54 +00:00
* Fixed: Incorrect handling of colors with alpha transparency when processing colors.
This commit is contained in:
SirStendec 2023-12-14 18:53:05 -05:00
parent de09ec502d
commit d503243be1
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "frankerfacez", "name": "frankerfacez",
"author": "Dan Salvato LLC", "author": "Dan Salvato LLC",
"version": "4.62.0", "version": "4.62.1",
"description": "FrankerFaceZ is a Twitch enhancement suite.", "description": "FrankerFaceZ is a Twitch enhancement suite.",
"private": true, "private": true,
"license": "Apache-2.0", "license": "Apache-2.0",

View file

@ -88,7 +88,7 @@ class RGBAColor implements BaseColor {
if ( data?.data?.length !== 4 ) if ( data?.data?.length !== 4 )
return null; return null;
return new RGBAColor(data.data[0], data.data[1], data.data[2], data.data[3]); return new RGBAColor(data.data[0], data.data[1], data.data[2], data.data[3] / 255);
} }
static fromCSS(input: string) { static fromCSS(input: string) {