@lls/lls-audio 0.0.29 → 0.0.31

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": "@lls/lls-audio",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "main": "index.js",
5
5
  "devDependencies": {
6
6
  "@kadira/storybook": "^2.21.0",
@@ -94,8 +94,8 @@ var _initialiseProps = function _initialiseProps() {
94
94
  currentTime = props.currentTime;
95
95
  var pixels_per_second = waveform.pixels_per_second;
96
96
 
97
- var maxWidth = _this2.refs.canvas.width;
98
- var maxHeight = _this2.refs.canvas.height;
97
+ var maxWidth = _this2.refs.canvas.clientWidth;
98
+ var maxHeight = _this2.refs.canvas.clientHeight;
99
99
 
100
100
  // Duration and step calculation
101
101
  var maxDuration = totalTime || waveform.duration;