Browse Source

Update comment about clear in PropertyView

pull/2578/head
Artur Arseniev 7 years ago
parent
commit
14f17a724b
  1. 6
      src/style_manager/view/PropertyView.js

6
src/style_manager/view/PropertyView.js

@ -132,10 +132,10 @@ export default Backbone.View.extend({
/** /**
* Clear the property from the target * Clear the property from the target
*/ */
clear(e) { clear(ev) {
e && e.stopPropagation(); ev && ev.stopPropagation();
this.model.clearValue(); this.model.clearValue();
// Skip one stack with setTimeout to avoid inconsistencies // Skip one stack with setTimeout to avoid inconsistencies (eg. visible on padding composite clear)
setTimeout(() => this.targetUpdated()); setTimeout(() => this.targetUpdated());
}, },

Loading…
Cancel
Save