diff --git a/ea-scripts/Darken background color.md b/ea-scripts/Darken background color.md index 90615eb..e943355 100644 --- a/ea-scripts/Darken background color.md +++ b/ea-scripts/Darken background color.md @@ -19,7 +19,7 @@ The color conversion method was copied from [color-convert](https://github.com/Q const elements = ea .getViewSelectedElements() .filter((el) => - ["rectangle", "ellipse", "diamond", "image"].includes(el.type) + ["rectangle", "ellipse", "diamond", "image", "line"].includes(el.type) ); ea.copyViewElementsToEAforEditing(elements); for (const el of ea.getElements()) { diff --git a/ea-scripts/Lighten background color.md b/ea-scripts/Lighten background color.md index 5d37c15..47cf0e3 100644 --- a/ea-scripts/Lighten background color.md +++ b/ea-scripts/Lighten background color.md @@ -19,7 +19,7 @@ The color conversion method was copied from [color-convert](https://github.com/Q const elements = ea .getViewSelectedElements() .filter((el) => - ["rectangle", "ellipse", "diamond", "image"].includes(el.type) + ["rectangle", "ellipse", "diamond", "image", "line"].includes(el.type) ); ea.copyViewElementsToEAforEditing(elements); for (const el of ea.getElements()) {