@jbrowse/core 2.15.2 → 2.15.3

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.
package/util/index.js CHANGED
@@ -1181,8 +1181,7 @@ function gatherOverlaps(regions, w = 5000) {
1181
1181
  return Object.values(memo).flatMap(group => mergeIntervals(group.sort((a, b) => a.start - b.start), w));
1182
1182
  }
1183
1183
  function stripAlpha(str) {
1184
- const c = (0, colord_1.colord)(str);
1185
- return c.alpha(1).toHex();
1184
+ return (0, colord_1.colord)(str).alpha(1).toHex();
1186
1185
  }
1187
1186
  function getStrokeProps(str) {
1188
1187
  const c = (0, colord_1.colord)(str);