barWidth option broken after commit 18cad42e
See original GitHub issueWavesurfer.js version(s):
latest master
Browser and operating system version(s):
electron: 4.0.4 chrome: 69.0
hi! firstly thank you for the great library, i’m having a lot of fun working with it.
i have been keeping up with the latest master and noticed that the waveform has stopped generating with commit 18cad42e (canvasentry refactor)
pre 18cad42e:
post 18cad42e:
my params are:
const params = {
audioContext: this.audioContext,
container: '#waveform',
waveColor: '#04ABED',
progressColor: 'black',
cursorColor: '#fff',
barWidth: 3,
barGap: 2,
barRadius: true,
height: 180,
barHeight: 1,
scrollParent: true,
responsive: true,
closeAudioContext: true,
//forceDecode: true,
plugins: [
TimelinePlugin.create({
container: '#timeline',
primaryColor: "#fff",
fontFamily: 'Roboto Condensed',
}),
MinimapPlugin.create({
container: "#minimap",
waveColor: '#000',
progressColor: 'black',
height: 30,
showOverview: true,
barWidth: 0,
barGap: 0,
barRadius: false,
overviewBorderColor: "azure",
}),
],
};
let me know if you need more info!
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Weird bar width after setting `setVisibleXRangeMaximum` ...
But when I move back the slider to initial position, the bar's width is increased drastically. Related Stackoverflow question: https:// ...
Read more >chart js 2 how to set bar width
Can now manually configure the thickness of a bar in a bar chart. Use a new barThickness option on the correct axis to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi @thijstriemstra pushed a fix for this in pr #1637, some arguments were missing.
@sandiz if you can help figure out what broke during that refactor, much appreciated, I’m focusing on other areas right now. This issue does block the 3.0.0 release though, which sucks.