Browse Source

Avoid triggering __p in styleable:change event

pull/4244/head
Artur Arseniev 4 years ago
parent
commit
e4b97d06f7
  1. 2
      src/domain_abstract/model/Styleable.js

2
src/domain_abstract/model/Styleable.js

@ -42,6 +42,8 @@ export default {
const propNew = { ...prop };
this.set('style', propNew, opts);
const diff = shallowDiff(propOrig, propNew);
// Delete the property used for partial updates
delete diff.__p;
keys(diff).forEach(pr => {
const em = this.em;
if (opts.noEvent) return;

Loading…
Cancel
Save