Browse Source

Update comment about clear in PropertyView

pull/2578/head
Artur Arseniev 6 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(e) {
e && e.stopPropagation();
clear(ev) {
ev && ev.stopPropagation();
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());
},

Loading…
Cancel
Save