Browse Source

Ignore input changes in composite view

up-style-manager
Artur Arseniev 4 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() {
this.props?.remove();
PropertyView.prototype.remove.apply(this, arguments);
},
onValueChange() {},
onRender() {
const { model, pfx } = this;
const props = model.getProperties();

Loading…
Cancel
Save