Merge pull request #545 from OptimistikSAS/issues/544

#544 getBlur() undefined issue fixed
master
JFH 2021-05-25 12:33:02 +02:00 committed by GitHub
commit bb80c519c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -553,9 +553,9 @@ export const pushGroupProperty = function (g, undoable) {
} }
if (gattrs.filter) { if (gattrs.filter) {
let cblur = this.getBlur(elem); let cblur = elementContext_.getCanvas().getBlur(elem);
const origCblur = cblur; const origCblur = cblur;
if (!gblur) { gblur = this.getBlur(g); } if (!gblur) { gblur = elementContext_.getCanvas().getBlur(g); }
if (cblur) { if (cblur) {
// Is this formula correct? // Is this formula correct?
cblur = Number(gblur) + Number(cblur); cblur = Number(gblur) + Number(cblur);