mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -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
|
* @param {string} colorString New color, css format
|
||||||
*/
|
*/
|
||||||
const applyFillColorToSelection = function (colorString) {
|
const applyFillColorToSelection = function (colorString) {
|
||||||
const items = getSelectedLeafItems;
|
const items = getSelectedLeafItems();
|
||||||
for (const item of items) {
|
for (const item of items) {
|
||||||
if (isPGTextItem(item)) {
|
if (isPGTextItem(item)) {
|
||||||
for (const child of item.children) {
|
for (const child of item.children) {
|
||||||
|
|
Loading…
Reference in a new issue