File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,11 @@ import { Rect } from 'konva/lib/shapes/Rect';
17
17
* @class
18
18
* @alias Scrollbar
19
19
*
20
- * @param {WaveformData } waveformData
21
20
* @param {HTMLElement } container
22
21
* @param {Peaks } peaks
23
22
*/
24
23
25
- function Scrollbar ( waveformData , container , peaks ) {
26
- this . _waveformData = waveformData ;
24
+ function Scrollbar ( container , peaks ) {
27
25
this . _container = container ;
28
26
this . _peaks = peaks ;
29
27
this . _options = peaks . options . scrollbar ;
Original file line number Diff line number Diff line change @@ -71,10 +71,7 @@ ViewController.prototype.createZoomview = function(container) {
71
71
} ;
72
72
73
73
ViewController . prototype . createScrollbar = function ( container ) {
74
- const waveformData = this . _peaks . getWaveformData ( ) ;
75
-
76
74
this . _scrollbar = new Scrollbar (
77
- waveformData ,
78
75
container ,
79
76
this . _peaks
80
77
) ;
You can’t perform that action at this time.
0 commit comments