mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 05:15:54 +00:00
4.62.1
* Fixed: Incorrect handling of colors with alpha transparency when processing colors.
This commit is contained in:
parent
de09ec502d
commit
d503243be1
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue