@jbrowse/plugin-linear-genome-view 3.6.4 → 3.6.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.
@@ -28,7 +28,9 @@ function rightTriangle(x, _y, width, height) {
28
28
  const colorMap = {
29
29
  gneg: 'rgb(227,227,227)',
30
30
  gpos25: 'rgb(142,142,142)',
31
+ gpos33: 'rgb(142,142,142)',
31
32
  gpos50: 'rgb(85,85,85)',
33
+ gpos66: 'rgb(85,85,85)',
32
34
  gpos100: 'rgb(0,0,0)',
33
35
  gpos75: 'rgb(57,57,57)',
34
36
  gvar: 'rgb(0,0,0)',
@@ -24,7 +24,7 @@ const TrackLabelMenu = (0, mobx_react_1.observer)(function ({ track, }) {
24
24
  const pinned = track.pinned;
25
25
  const { isTopLevelView } = view;
26
26
  const items = [
27
- ...(isTopLevelView
27
+ ...(!isTopLevelView
28
28
  ? []
29
29
  : [
30
30
  {
@@ -59,8 +59,8 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
59
59
  readonly interRegionPaddingWidth: number;
60
60
  readonly assemblyNames: string[];
61
61
  readonly assemblyDisplayNames: string[];
62
- readonly isTopLevelView: import("@jbrowse/core/util").AbstractViewModel | undefined;
63
- readonly stickyViewHeaders: boolean | undefined;
62
+ readonly isTopLevelView: boolean;
63
+ readonly stickyViewHeaders: boolean;
64
64
  readonly rubberbandTop: number;
65
65
  readonly pinnedTracksTop: number;
66
66
  } & {
@@ -146,7 +146,7 @@ function stateModelFactory(pluginManager) {
146
146
  },
147
147
  get isTopLevelView() {
148
148
  const session = (0, util_1.getSession)(self);
149
- return session.views.find(r => r.id === self.id);
149
+ return session.views.some(r => r.id === self.id);
150
150
  },
151
151
  get stickyViewHeaders() {
152
152
  const session = (0, util_1.getSession)(self);
@@ -26,7 +26,9 @@ function rightTriangle(x, _y, width, height) {
26
26
  const colorMap = {
27
27
  gneg: 'rgb(227,227,227)',
28
28
  gpos25: 'rgb(142,142,142)',
29
+ gpos33: 'rgb(142,142,142)',
29
30
  gpos50: 'rgb(85,85,85)',
31
+ gpos66: 'rgb(85,85,85)',
30
32
  gpos100: 'rgb(0,0,0)',
31
33
  gpos75: 'rgb(57,57,57)',
32
34
  gvar: 'rgb(0,0,0)',
@@ -19,7 +19,7 @@ const TrackLabelMenu = observer(function ({ track, }) {
19
19
  const pinned = track.pinned;
20
20
  const { isTopLevelView } = view;
21
21
  const items = [
22
- ...(isTopLevelView
22
+ ...(!isTopLevelView
23
23
  ? []
24
24
  : [
25
25
  {
@@ -59,8 +59,8 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
59
59
  readonly interRegionPaddingWidth: number;
60
60
  readonly assemblyNames: string[];
61
61
  readonly assemblyDisplayNames: string[];
62
- readonly isTopLevelView: import("@jbrowse/core/util").AbstractViewModel | undefined;
63
- readonly stickyViewHeaders: boolean | undefined;
62
+ readonly isTopLevelView: boolean;
63
+ readonly stickyViewHeaders: boolean;
64
64
  readonly rubberbandTop: number;
65
65
  readonly pinnedTracksTop: number;
66
66
  } & {
@@ -106,7 +106,7 @@ export function stateModelFactory(pluginManager) {
106
106
  },
107
107
  get isTopLevelView() {
108
108
  const session = getSession(self);
109
- return session.views.find(r => r.id === self.id);
109
+ return session.views.some(r => r.id === self.id);
110
110
  },
111
111
  get stickyViewHeaders() {
112
112
  const session = getSession(self);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-linear-genome-view",
3
- "version": "3.6.4",
3
+ "version": "3.6.5",
4
4
  "description": "JBrowse 2 linear genome view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -38,7 +38,7 @@
38
38
  "useSrc": "node ../../scripts/useSrc.js"
39
39
  },
40
40
  "dependencies": {
41
- "@jbrowse/core": "^3.6.4",
41
+ "@jbrowse/core": "^3.6.5",
42
42
  "@mui/icons-material": "^7.0.0",
43
43
  "@mui/material": "^7.0.0",
44
44
  "@types/file-saver": "^2.0.1",
@@ -57,5 +57,5 @@
57
57
  "access": "public"
58
58
  },
59
59
  "module": "esm/index.js",
60
- "gitHead": "3db8e50ce2bd9c081efbf6c2e7ae5f342380a25a"
60
+ "gitHead": "354d0a87b757b4d84f824b47507662f6f3a1693f"
61
61
  }