From 39660d2944a6b3e290b33530ce8586aed61356c4 Mon Sep 17 00:00:00 2001 From: Sergey Luzyanin Date: Wed, 18 Oct 2023 13:59:14 +0300 Subject: [PATCH] fix error --- common/Drawings/Format/Format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Drawings/Format/Format.js b/common/Drawings/Format/Format.js index eafd967fc1..89a466d64b 100644 --- a/common/Drawings/Format/Format.js +++ b/common/Drawings/Format/Format.js @@ -4229,7 +4229,7 @@ let oMod = this.color.Mods.getMod("alpha"); if(!oMod) { oMod = new CColorMod("alpha", (100 - nVal) * 1000 + 0.5 >> 0); - this.color.addMod(oMod); + this.color.Mods.addMod(oMod); } else { oMod.setVal((100 - nVal) * 1000 + 0.5 >> 0);