mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-26 20:32:23 +00:00
remove extra *255 in hsl conversion
this is currently happening on lines 437-441 when converting to the int32Color
This commit is contained in:
@@ -172,7 +172,7 @@ function hslToRgb(hsl) {
|
||||
let val;
|
||||
|
||||
if (s === 0) {
|
||||
val = l * 255;
|
||||
val = l;
|
||||
return [val, val, val];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user