Improved look and feel of effect editing

This commit is contained in:
Stefan Zermatten
2017-07-13 15:53:03 +02:00
parent 6a84c83644
commit 8b061f7aa9
4 changed files with 94 additions and 38 deletions

View File

@@ -249,7 +249,9 @@
},
_updateItems: function() {
var nodes = Polymer.dom(this).queryDistributedElements(this.selectable || '*');
var nodes = this.selectable
? Polymer.dom(this).querySelectorAll(this.selectable)
: Polymer.dom(this).queryDistributedElements('*');
nodes = Array.prototype.filter.call(nodes, this._bindFilterItem);
this._setItems(nodes);
},