@plait/draw 0.79.1 → 0.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1973,7 +1973,7 @@ const isFilledDrawElement = (board, element) => {
1973
1973
  return getFirstFilledDrawElement(board, [element]) !== null;
1974
1974
  };
1975
1975
  const getSolidElements = (elements) => {
1976
- const solidElements = elements.filter((item) => PlaitDrawElement.isText(item) || PlaitDrawElement.isLine(item) || elements.filter((item) => PlaitDrawElement.isImage(item)));
1976
+ const solidElements = elements.filter((item) => PlaitDrawElement.isText(item) || PlaitDrawElement.isLine(item) || PlaitDrawElement.isImage(item));
1977
1977
  if (solidElements.length) {
1978
1978
  return solidElements;
1979
1979
  }