@datagrok/bio 2.8.0 → 2.8.1
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/CHANGELOG.md +14 -4
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/monomer-cell-renderer.ts +2 -2
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "Leonid Stolbov",
|
|
6
6
|
"email": "lstolbov@datagrok.ai"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.8.
|
|
8
|
+
"version": "2.8.1",
|
|
9
9
|
"description": "Bioinformatics support (import/export of sequences, conversion, visualization, analysis). [See more](https://github.com/datagrok-ai/public/blob/master/packages/Bio/README.md) for details.",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -63,7 +63,7 @@ export class MonomerCellRenderer extends DG.GridCellRenderer {
|
|
|
63
63
|
|
|
64
64
|
get defaultHeight(): number { return 15; }
|
|
65
65
|
|
|
66
|
-
get defaultWidth(): number { return
|
|
66
|
+
get defaultWidth(): number { return 40; }
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* Cell renderer function.
|
|
@@ -95,6 +95,6 @@ export class MonomerCellRenderer extends DG.GridCellRenderer {
|
|
|
95
95
|
const color = palette.get(s);
|
|
96
96
|
|
|
97
97
|
g.fillStyle = color;
|
|
98
|
-
g.fillText(monomerToShort(s,
|
|
98
|
+
g.fillText(monomerToShort(s, 6), x + (w / 2), y + (h / 2), w);
|
|
99
99
|
}
|
|
100
100
|
}
|