From f7cd7fc54dd6eb01f7cf8fa11d98d8008c550f5c Mon Sep 17 00:00:00 2001 From: DD Date: Wed, 11 Oct 2017 11:58:05 -0400 Subject: [PATCH] fix function --- src/helper/style-path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper/style-path.js b/src/helper/style-path.js index aab1aee1..6e85b9f6 100644 --- a/src/helper/style-path.js +++ b/src/helper/style-path.js @@ -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) {