Skip to content

Commit

Permalink
Check only the component style for the target update. Fixes #2657
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Sep 12, 2020
1 parent 1c2c5ed commit 9c151bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/style_manager/view/PropertyView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9c151bd

Please sign in to comment.