mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
fix function
This commit is contained in:
parent
ab244a5e4c
commit
f7cd7fc54d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue