@jbrowse/plugin-linear-genome-view 1.6.6 → 1.6.7

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-linear-genome-view",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "JBrowse 2 linear genome view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "9fcca7793af0df2d6e527ddaace2b368c8ed2879"
64
+ "gitHead": "02012ec299c36647f755316571775d36b0fee5ec"
65
65
  }
@@ -1,20 +1,25 @@
1
1
  import React, { useEffect, useRef } from 'react'
2
- import { Paper, makeStyles } from '@material-ui/core'
3
2
  import { observer } from 'mobx-react'
4
3
  import { isAlive } from 'mobx-state-tree'
5
- import { getConf } from '@jbrowse/core/configuration'
6
4
  import { BaseTrackModel } from '@jbrowse/core/pluggableElementTypes/models'
5
+ import { getConf } from '@jbrowse/core/configuration'
7
6
  import { ResizeHandle } from '@jbrowse/core/ui'
8
7
  import { useDebouncedCallback } from '@jbrowse/core/util'
9
8
  import clsx from 'clsx'
9
+ import Paper from '@material-ui/core/Paper'
10
+ import { makeStyles } from '@material-ui/core/styles'
10
11
 
11
12
  import { LinearGenomeViewModel, RESIZE_HANDLE_HEIGHT } from '..'
12
13
  import TrackLabel from './TrackLabel'
13
14
 
14
15
  const useStyles = makeStyles(theme => ({
15
- root: {},
16
+ root: {
17
+ margin: 2,
18
+ },
16
19
  resizeHandle: {
17
20
  height: RESIZE_HANDLE_HEIGHT,
21
+ boxSizing: 'border-box',
22
+ position: 'relative',
18
23
  zIndex: 2,
19
24
  },
20
25
  overlay: {
@@ -28,7 +33,6 @@ const useStyles = makeStyles(theme => ({
28
33
  },
29
34
  trackLabel: {
30
35
  zIndex: 3,
31
- margin: theme.spacing(1),
32
36
  },
33
37
  trackLabelInline: {
34
38
  position: 'relative',
@@ -44,25 +48,45 @@ const useStyles = makeStyles(theme => ({
44
48
  position: 'relative',
45
49
  background: 'none',
46
50
  zIndex: 2,
51
+ boxSizing: 'content-box',
47
52
  },
48
53
  }))
49
54
 
50
55
  type LGV = LinearGenomeViewModel
51
56
 
57
+ function TrackContainerLabel({
58
+ model,
59
+ view,
60
+ }: {
61
+ model: BaseTrackModel
62
+ view: LGV
63
+ }) {
64
+ const classes = useStyles()
65
+ const labelStyle =
66
+ view.trackLabels === 'overlapping'
67
+ ? classes.trackLabelOverlap
68
+ : classes.trackLabelInline
69
+ return view.trackLabels !== 'hidden' ? (
70
+ <TrackLabel
71
+ track={model}
72
+ className={clsx(classes.trackLabel, labelStyle)}
73
+ />
74
+ ) : null
75
+ }
76
+
52
77
  function TrackContainer({
53
78
  model,
54
79
  track,
55
80
  }: {
56
- model: LGV
81
+ model: LinearGenomeViewModel
57
82
  track: BaseTrackModel
58
83
  }) {
59
84
  const classes = useStyles()
60
85
  const display = track.displays[0]
61
- const { id, trackLabels, horizontalScroll, draggingTrackId, moveTrack } =
62
- model
86
+ const { horizontalScroll, draggingTrackId, moveTrack } = model
63
87
  const { height } = display
64
88
  const trackId = getConf(track, 'trackId')
65
- const ref = useRef<HTMLDivElement>(null)
89
+ const ref = useRef(null)
66
90
 
67
91
  useEffect(() => {
68
92
  if (ref.current) {
@@ -86,9 +110,9 @@ function TrackContainer({
86
110
  const dimmed = draggingTrackId !== undefined && draggingTrackId !== display.id
87
111
 
88
112
  return (
89
- <div className={classes.root}>
90
- <Paper
91
- variant="outlined"
113
+ <Paper className={classes.root} variant="outlined">
114
+ <TrackContainerLabel model={track} view={model} />
115
+ <div
92
116
  className={classes.trackRenderingContainer}
93
117
  style={{ height }}
94
118
  onScroll={event => {
@@ -96,24 +120,12 @@ function TrackContainer({
96
120
  display.setScrollTop(target.scrollTop)
97
121
  }}
98
122
  onDragEnter={debouncedOnDragEnter}
99
- data-testid={`trackRenderingContainer-${id}-${trackId}`}
123
+ data-testid={`trackRenderingContainer-${model.id}-${trackId}`}
100
124
  role="presentation"
101
125
  >
102
- {trackLabels !== 'hidden' ? (
103
- <TrackLabel
104
- track={track}
105
- className={clsx(
106
- classes.trackLabel,
107
- trackLabels === 'overlapping'
108
- ? classes.trackLabelOverlap
109
- : classes.trackLabelInline,
110
- )}
111
- />
112
- ) : null}
113
126
  <div ref={ref} style={{ transform: `scaleX(${model.scaleFactor})` }}>
114
127
  <RenderingComponent
115
128
  model={display}
116
- blockState={{}}
117
129
  onHorizontalScroll={horizontalScroll}
118
130
  />
119
131
  </div>
@@ -129,7 +141,7 @@ function TrackContainer({
129
141
  <DisplayBlurb model={display} />
130
142
  </div>
131
143
  ) : null}
132
- </Paper>
144
+ </div>
133
145
  <div
134
146
  className={classes.overlay}
135
147
  style={{
@@ -142,7 +154,7 @@ function TrackContainer({
142
154
  onDrag={display.resizeHeight}
143
155
  className={classes.resizeHandle}
144
156
  />
145
- </div>
157
+ </Paper>
146
158
  )
147
159
  }
148
160
 
@@ -185,7 +185,6 @@ function TracksContainer({
185
185
  />
186
186
  }
187
187
  />
188
- <div className={classes.spacer} />
189
188
  {children}
190
189
  </div>
191
190
  )
@@ -449,92 +449,89 @@ exports[`<LinearGenomeView /> renders one track, one region 1`] = `
449
449
  </div>
450
450
  </div>
451
451
  <div
452
- class="makeStyles-spacer"
453
- />
454
- <div
455
- class="makeStyles-root"
452
+ class="MuiPaper-root makeStyles-root MuiPaper-outlined MuiPaper-rounded"
456
453
  >
457
454
  <div
458
- class="MuiPaper-root makeStyles-trackRenderingContainer MuiPaper-outlined MuiPaper-rounded"
459
- data-testid="trackRenderingContainer-lgv-testConfig"
460
- role="presentation"
461
- style="height: 100px;"
455
+ class="MuiPaper-root makeStyles-trackLabel makeStyles-trackLabelOverlap makeStyles-root MuiPaper-elevation1 MuiPaper-rounded"
462
456
  >
463
- <div
464
- class="MuiPaper-root makeStyles-trackLabel makeStyles-trackLabelOverlap makeStyles-root MuiPaper-elevation1 MuiPaper-rounded"
457
+ <span
458
+ class="makeStyles-dragHandle"
459
+ data-testid="dragHandle-lgv-testConfig"
460
+ draggable="true"
461
+ >
462
+ <svg
463
+ aria-hidden="true"
464
+ class="MuiSvgIcon-root makeStyles-dragHandleIcon"
465
+ focusable="false"
466
+ viewBox="0 0 24 24"
467
+ >
468
+ <path
469
+ d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
470
+ />
471
+ </svg>
472
+ </span>
473
+ <button
474
+ class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
475
+ tabindex="0"
476
+ title="close this track"
477
+ type="button"
465
478
  >
466
479
  <span
467
- class="makeStyles-dragHandle"
468
- data-testid="dragHandle-lgv-testConfig"
469
- draggable="true"
480
+ class="MuiIconButton-label"
470
481
  >
471
482
  <svg
472
483
  aria-hidden="true"
473
- class="MuiSvgIcon-root makeStyles-dragHandleIcon"
484
+ class="MuiSvgIcon-root"
474
485
  focusable="false"
475
486
  viewBox="0 0 24 24"
476
487
  >
477
488
  <path
478
- d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
489
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
479
490
  />
480
491
  </svg>
481
492
  </span>
482
- <button
483
- class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
484
- tabindex="0"
485
- title="close this track"
486
- type="button"
487
- >
488
- <span
489
- class="MuiIconButton-label"
490
- >
491
- <svg
492
- aria-hidden="true"
493
- class="MuiSvgIcon-root"
494
- focusable="false"
495
- viewBox="0 0 24 24"
496
- >
497
- <path
498
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
499
- />
500
- </svg>
501
- </span>
502
- <span
503
- class="MuiTouchRipple-root"
504
- />
505
- </button>
506
493
  <span
507
- class="MuiTypography-root makeStyles-trackName MuiTypography-body1"
508
- >
509
- Foo Track
510
- </span>
511
- <button
512
- aria-controls="simple-menu"
513
- aria-haspopup="true"
514
- class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
515
- data-testid="track_menu_icon"
516
- tabindex="0"
517
- type="button"
494
+ class="MuiTouchRipple-root"
495
+ />
496
+ </button>
497
+ <span
498
+ class="MuiTypography-root makeStyles-trackName MuiTypography-body1"
499
+ >
500
+ Foo Track
501
+ </span>
502
+ <button
503
+ aria-controls="simple-menu"
504
+ aria-haspopup="true"
505
+ class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
506
+ data-testid="track_menu_icon"
507
+ tabindex="0"
508
+ type="button"
509
+ >
510
+ <span
511
+ class="MuiIconButton-label"
518
512
  >
519
- <span
520
- class="MuiIconButton-label"
513
+ <svg
514
+ aria-hidden="true"
515
+ class="MuiSvgIcon-root"
516
+ focusable="false"
517
+ viewBox="0 0 24 24"
521
518
  >
522
- <svg
523
- aria-hidden="true"
524
- class="MuiSvgIcon-root"
525
- focusable="false"
526
- viewBox="0 0 24 24"
527
- >
528
- <path
529
- d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
530
- />
531
- </svg>
532
- </span>
533
- <span
534
- class="MuiTouchRipple-root"
535
- />
536
- </button>
537
- </div>
519
+ <path
520
+ d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
521
+ />
522
+ </svg>
523
+ </span>
524
+ <span
525
+ class="MuiTouchRipple-root"
526
+ />
527
+ </button>
528
+ </div>
529
+ <div
530
+ class="makeStyles-trackRenderingContainer"
531
+ data-testid="trackRenderingContainer-lgv-testConfig"
532
+ role="presentation"
533
+ style="height: 100px;"
534
+ >
538
535
  <div
539
536
  style="transform: scaleX(1);"
540
537
  >
@@ -1342,92 +1339,89 @@ exports[`<LinearGenomeView /> renders two tracks, two regions 1`] = `
1342
1339
  </div>
1343
1340
  </div>
1344
1341
  <div
1345
- class="makeStyles-spacer"
1346
- />
1347
- <div
1348
- class="makeStyles-root"
1342
+ class="MuiPaper-root makeStyles-root MuiPaper-outlined MuiPaper-rounded"
1349
1343
  >
1350
1344
  <div
1351
- class="MuiPaper-root makeStyles-trackRenderingContainer MuiPaper-outlined MuiPaper-rounded"
1352
- data-testid="trackRenderingContainer-lgv-testConfig"
1353
- role="presentation"
1354
- style="height: 100px;"
1345
+ class="MuiPaper-root makeStyles-trackLabel makeStyles-trackLabelOverlap makeStyles-root MuiPaper-elevation1 MuiPaper-rounded"
1355
1346
  >
1356
- <div
1357
- class="MuiPaper-root makeStyles-trackLabel makeStyles-trackLabelOverlap makeStyles-root MuiPaper-elevation1 MuiPaper-rounded"
1347
+ <span
1348
+ class="makeStyles-dragHandle"
1349
+ data-testid="dragHandle-lgv-testConfig"
1350
+ draggable="true"
1351
+ >
1352
+ <svg
1353
+ aria-hidden="true"
1354
+ class="MuiSvgIcon-root makeStyles-dragHandleIcon"
1355
+ focusable="false"
1356
+ viewBox="0 0 24 24"
1357
+ >
1358
+ <path
1359
+ d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1360
+ />
1361
+ </svg>
1362
+ </span>
1363
+ <button
1364
+ class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1365
+ tabindex="0"
1366
+ title="close this track"
1367
+ type="button"
1358
1368
  >
1359
1369
  <span
1360
- class="makeStyles-dragHandle"
1361
- data-testid="dragHandle-lgv-testConfig"
1362
- draggable="true"
1370
+ class="MuiIconButton-label"
1363
1371
  >
1364
1372
  <svg
1365
1373
  aria-hidden="true"
1366
- class="MuiSvgIcon-root makeStyles-dragHandleIcon"
1374
+ class="MuiSvgIcon-root"
1367
1375
  focusable="false"
1368
1376
  viewBox="0 0 24 24"
1369
1377
  >
1370
1378
  <path
1371
- d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1379
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
1372
1380
  />
1373
1381
  </svg>
1374
1382
  </span>
1375
- <button
1376
- class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1377
- tabindex="0"
1378
- title="close this track"
1379
- type="button"
1380
- >
1381
- <span
1382
- class="MuiIconButton-label"
1383
- >
1384
- <svg
1385
- aria-hidden="true"
1386
- class="MuiSvgIcon-root"
1387
- focusable="false"
1388
- viewBox="0 0 24 24"
1389
- >
1390
- <path
1391
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
1392
- />
1393
- </svg>
1394
- </span>
1395
- <span
1396
- class="MuiTouchRipple-root"
1397
- />
1398
- </button>
1399
1383
  <span
1400
- class="MuiTypography-root makeStyles-trackName MuiTypography-body1"
1401
- >
1402
- Foo Track
1403
- </span>
1404
- <button
1405
- aria-controls="simple-menu"
1406
- aria-haspopup="true"
1407
- class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1408
- data-testid="track_menu_icon"
1409
- tabindex="0"
1410
- type="button"
1384
+ class="MuiTouchRipple-root"
1385
+ />
1386
+ </button>
1387
+ <span
1388
+ class="MuiTypography-root makeStyles-trackName MuiTypography-body1"
1389
+ >
1390
+ Foo Track
1391
+ </span>
1392
+ <button
1393
+ aria-controls="simple-menu"
1394
+ aria-haspopup="true"
1395
+ class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1396
+ data-testid="track_menu_icon"
1397
+ tabindex="0"
1398
+ type="button"
1399
+ >
1400
+ <span
1401
+ class="MuiIconButton-label"
1411
1402
  >
1412
- <span
1413
- class="MuiIconButton-label"
1403
+ <svg
1404
+ aria-hidden="true"
1405
+ class="MuiSvgIcon-root"
1406
+ focusable="false"
1407
+ viewBox="0 0 24 24"
1414
1408
  >
1415
- <svg
1416
- aria-hidden="true"
1417
- class="MuiSvgIcon-root"
1418
- focusable="false"
1419
- viewBox="0 0 24 24"
1420
- >
1421
- <path
1422
- d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1423
- />
1424
- </svg>
1425
- </span>
1426
- <span
1427
- class="MuiTouchRipple-root"
1428
- />
1429
- </button>
1430
- </div>
1409
+ <path
1410
+ d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1411
+ />
1412
+ </svg>
1413
+ </span>
1414
+ <span
1415
+ class="MuiTouchRipple-root"
1416
+ />
1417
+ </button>
1418
+ </div>
1419
+ <div
1420
+ class="makeStyles-trackRenderingContainer"
1421
+ data-testid="trackRenderingContainer-lgv-testConfig"
1422
+ role="presentation"
1423
+ style="height: 100px;"
1424
+ >
1431
1425
  <div
1432
1426
  style="transform: scaleX(1);"
1433
1427
  >
@@ -1500,89 +1494,89 @@ exports[`<LinearGenomeView /> renders two tracks, two regions 1`] = `
1500
1494
  />
1501
1495
  </div>
1502
1496
  <div
1503
- class="makeStyles-root"
1497
+ class="MuiPaper-root makeStyles-root MuiPaper-outlined MuiPaper-rounded"
1504
1498
  >
1505
1499
  <div
1506
- class="MuiPaper-root makeStyles-trackRenderingContainer MuiPaper-outlined MuiPaper-rounded"
1507
- data-testid="trackRenderingContainer-lgv-testConfig2"
1508
- role="presentation"
1509
- style="height: 100px;"
1500
+ class="MuiPaper-root makeStyles-trackLabel makeStyles-trackLabelOverlap makeStyles-root MuiPaper-elevation1 MuiPaper-rounded"
1510
1501
  >
1511
- <div
1512
- class="MuiPaper-root makeStyles-trackLabel makeStyles-trackLabelOverlap makeStyles-root MuiPaper-elevation1 MuiPaper-rounded"
1502
+ <span
1503
+ class="makeStyles-dragHandle"
1504
+ data-testid="dragHandle-lgv-testConfig2"
1505
+ draggable="true"
1506
+ >
1507
+ <svg
1508
+ aria-hidden="true"
1509
+ class="MuiSvgIcon-root makeStyles-dragHandleIcon"
1510
+ focusable="false"
1511
+ viewBox="0 0 24 24"
1512
+ >
1513
+ <path
1514
+ d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1515
+ />
1516
+ </svg>
1517
+ </span>
1518
+ <button
1519
+ class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1520
+ tabindex="0"
1521
+ title="close this track"
1522
+ type="button"
1513
1523
  >
1514
1524
  <span
1515
- class="makeStyles-dragHandle"
1516
- data-testid="dragHandle-lgv-testConfig2"
1517
- draggable="true"
1525
+ class="MuiIconButton-label"
1518
1526
  >
1519
1527
  <svg
1520
1528
  aria-hidden="true"
1521
- class="MuiSvgIcon-root makeStyles-dragHandleIcon"
1529
+ class="MuiSvgIcon-root"
1522
1530
  focusable="false"
1523
1531
  viewBox="0 0 24 24"
1524
1532
  >
1525
1533
  <path
1526
- d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1534
+ d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
1527
1535
  />
1528
1536
  </svg>
1529
1537
  </span>
1530
- <button
1531
- class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1532
- tabindex="0"
1533
- title="close this track"
1534
- type="button"
1535
- >
1536
- <span
1537
- class="MuiIconButton-label"
1538
- >
1539
- <svg
1540
- aria-hidden="true"
1541
- class="MuiSvgIcon-root"
1542
- focusable="false"
1543
- viewBox="0 0 24 24"
1544
- >
1545
- <path
1546
- d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
1547
- />
1548
- </svg>
1549
- </span>
1550
- <span
1551
- class="MuiTouchRipple-root"
1552
- />
1553
- </button>
1554
1538
  <span
1555
- class="MuiTypography-root makeStyles-trackName MuiTypography-body1"
1556
- >
1557
- Bar Track
1558
- </span>
1559
- <button
1560
- aria-controls="simple-menu"
1561
- aria-haspopup="true"
1562
- class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1563
- data-testid="track_menu_icon"
1564
- tabindex="0"
1565
- type="button"
1539
+ class="MuiTouchRipple-root"
1540
+ />
1541
+ </button>
1542
+ <span
1543
+ class="MuiTypography-root makeStyles-trackName MuiTypography-body1"
1544
+ >
1545
+ Bar Track
1546
+ </span>
1547
+ <button
1548
+ aria-controls="simple-menu"
1549
+ aria-haspopup="true"
1550
+ class="MuiButtonBase-root MuiIconButton-root makeStyles-iconButton MuiIconButton-colorSecondary"
1551
+ data-testid="track_menu_icon"
1552
+ tabindex="0"
1553
+ type="button"
1554
+ >
1555
+ <span
1556
+ class="MuiIconButton-label"
1566
1557
  >
1567
- <span
1568
- class="MuiIconButton-label"
1558
+ <svg
1559
+ aria-hidden="true"
1560
+ class="MuiSvgIcon-root"
1561
+ focusable="false"
1562
+ viewBox="0 0 24 24"
1569
1563
  >
1570
- <svg
1571
- aria-hidden="true"
1572
- class="MuiSvgIcon-root"
1573
- focusable="false"
1574
- viewBox="0 0 24 24"
1575
- >
1576
- <path
1577
- d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1578
- />
1579
- </svg>
1580
- </span>
1581
- <span
1582
- class="MuiTouchRipple-root"
1583
- />
1584
- </button>
1585
- </div>
1564
+ <path
1565
+ d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
1566
+ />
1567
+ </svg>
1568
+ </span>
1569
+ <span
1570
+ class="MuiTouchRipple-root"
1571
+ />
1572
+ </button>
1573
+ </div>
1574
+ <div
1575
+ class="makeStyles-trackRenderingContainer"
1576
+ data-testid="trackRenderingContainer-lgv-testConfig2"
1577
+ role="presentation"
1578
+ style="height: 100px;"
1579
+ >
1586
1580
  <div
1587
1581
  style="transform: scaleX(1);"
1588
1582
  >