From 14f17a724ba2c3b09bdfc654d272d46df96247af Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sat, 11 Jan 2020 19:55:44 +0100 Subject: [PATCH] Update comment about clear in PropertyView --- src/style_manager/view/PropertyView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/style_manager/view/PropertyView.js b/src/style_manager/view/PropertyView.js index 836910eed..24b412d48 100644 --- a/src/style_manager/view/PropertyView.js +++ b/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()); },