Browse Source

Ignore input changes in composite view

up-style-manager
Artur Arseniev 5 years ago
parent
commit
3139befbf9
  1. 9
      src/style_manager/view/PropertyCompositeView.js

9
src/style_manager/view/PropertyCompositeView.js

@ -11,18 +11,13 @@ export default PropertyView.extend({
`; `;
}, },
inputValueChanged(...args) {
// If it's not detached (eg. 'padding: 1px 2px 3px 4px;') it will follow the same flow of the PropertyView
if (!this.model.isDetached()) {
PropertyView.prototype.inputValueChanged.apply(this, args);
}
},
remove() { remove() {
this.props?.remove(); this.props?.remove();
PropertyView.prototype.remove.apply(this, arguments); PropertyView.prototype.remove.apply(this, arguments);
}, },
onValueChange() {},
onRender() { onRender() {
const { model, pfx } = this; const { model, pfx } = this;
const props = model.getProperties(); const props = model.getProperties();

Loading…
Cancel
Save