Fix satOff mod

This commit is contained in:
Vladimir Privezenov
2025-06-27 17:57:53 +03:00
committed by Sergey Luzyanin
parent cb2e978b2f
commit 45211612bc
2 changed files with 1463 additions and 1 deletions

View File

@ -2142,7 +2142,7 @@
const HSL = {H: 0, S: 0, L: 0};
this.RGB2HSL(RGBA.R, RGBA.G, RGBA.B, HSL);
const res = HSL.S + val * max_hls;
HSL.S = AscCommon.trimMinMaxValue(res, 0, max_hls);
HSL.S = res;
this.HSL2RGB(HSL, RGBA);
}
} else if (colorMod.name === "wordShade") {