@plait/mind 0.2.0-next.4 → 0.2.0-next.5

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.
@@ -854,7 +854,7 @@ const getStrokeByMindElement = (board, element) => {
854
854
  ancestors.unshift(element);
855
855
  const ancestor = ancestors.find(value => value.strokeColor);
856
856
  if (ancestor && ancestor.strokeColor) {
857
- return ancestor.branchColor;
857
+ return ancestor.strokeColor;
858
858
  }
859
859
  const root = ancestors[ancestors.length - 1];
860
860
  const branch = ancestors[ancestors.length - 2];