From 9c151bd5c22714fa5cf73f85dd0759b1494ce6f6 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sat, 12 Sep 2020 23:20:02 +0200 Subject: [PATCH] Check only the component style for the target update. Fixes #2657 --- src/style_manager/view/PropertyView.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/style_manager/view/PropertyView.js b/src/style_manager/view/PropertyView.js index 96652083fb..7520ad1bcc 100644 --- a/src/style_manager/view/PropertyView.js +++ b/src/style_manager/view/PropertyView.js @@ -427,11 +427,7 @@ export default Backbone.View.extend({ const onChange = this.onChange; // Check if component is allowed to be styled - if ( - !target || - !this.isTargetStylable(target) || - !this.isComponentStylable() - ) { + if (!target || !this.isComponentStylable()) { return; }