fix function

This commit is contained in:
DD 2017-10-11 11:58:05 -04:00
parent ab244a5e4c
commit f7cd7fc54d

View file

@ -9,7 +9,7 @@ const MIXED = 'scratch-paint/style-path/mixed';
* @param {string} colorString New color, css format
*/
const applyFillColorToSelection = function (colorString) {
const items = getSelectedLeafItems;
const items = getSelectedLeafItems();
for (const item of items) {
if (isPGTextItem(item)) {
for (const child of item.children) {