mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Fix satOff mod
This commit is contained in:
committed by
Sergey Luzyanin
parent
cb2e978b2f
commit
45211612bc
@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user