@jbrowse/plugin-circular-view 1.5.1 → 1.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-circular-view",
3
- "version": "1.5.1",
3
+ "version": "1.5.5",
4
4
  "description": "JBrowse 2 circular view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "284e408c72a3d4d7a0d603197501a8fc8f68c4bc"
52
+ "gitHead": "214a3bed2d2722f0971c0d0eed37c8d801f086d7"
53
53
  }
@@ -9,8 +9,6 @@ import { thetaRangesOverlap } from './viewportVisibleRegion'
9
9
  export class Slice {
10
10
  key: string
11
11
 
12
- region: Region & { widthBp: number; elided: boolean }
13
-
14
12
  offsetRadians: number
15
13
 
16
14
  startRadians: number
@@ -19,22 +17,18 @@ export class Slice {
19
17
 
20
18
  bpPerRadian: number
21
19
 
22
- radianWidth: number
23
-
24
20
  flipped: boolean
25
21
 
26
22
  constructor(
27
23
  view: { bpPerRadian: number },
28
- region: Region & { widthBp: number; elided: boolean },
24
+ public region: Region & { widthBp: number; elided: boolean },
29
25
  currentRadianOffset: number,
30
- radianWidth: number,
26
+ public radianWidth: number,
31
27
  ) {
32
28
  const { bpPerRadian } = view
33
29
  this.key = assembleLocString(region)
34
- this.region = region
35
30
  this.offsetRadians = currentRadianOffset
36
31
  this.bpPerRadian = bpPerRadian
37
- this.radianWidth = radianWidth
38
32
  this.flipped = false
39
33
 
40
34
  this.startRadians = this.offsetRadians