Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyLuzyanin committed Oct 18, 2023
1 parent 53f2995 commit 39660d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/Drawings/Format/Format.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 39660d2

Please sign in to comment.