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) {