@jbrowse/bandage-core 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5063,6 +5063,7 @@ var HALO_FACTOR = 3.4;
5063
5063
  var LEGEND_INSET_PX = 6;
5064
5064
  var ROUTE_STACK = 8;
5065
5065
  var GENE_PIN_DROP_PX = 18;
5066
+ var GENE_STACK = 2;
5066
5067
  var GLYPH_ROOM_PX = 60;
5067
5068
  var MAX_GLYPH_LABEL_ROWS = 8;
5068
5069
  var TOPMOST_BASELINE = LABEL_PX + LABEL_PAD;
@@ -5151,7 +5152,8 @@ function layoutLabels(m) {
5151
5152
  item: pin,
5152
5153
  x,
5153
5154
  y: y + m.contigThickness + GENE_PIN_DROP_PX,
5154
- text: pin.covered < 0.98 ? `${pin.gene.name} \u2026` : pin.gene.name
5155
+ text: pin.covered < 0.98 ? `${pin.gene.name} \u2026` : pin.gene.name,
5156
+ stack: GENE_STACK
5155
5157
  };
5156
5158
  }),
5157
5159
  frame,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/bandage-core",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Pangenome graph layout and drawing with no host: GFA in, the Bandage force-directed engine and reference-anchored layouts, a Canvas2D renderer, hit testing and labels out",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {