@millistream/millistream-widgets 1.0.16 → 1.0.18

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.
@@ -53,7 +53,7 @@
53
53
 
54
54
 
55
55
 
56
-
56
+ /*
57
57
 
58
58
  var backingStore = _this.backingStorePixelRatio ||
59
59
  _this.webkitBackingStorePixelRatio ||
@@ -62,7 +62,8 @@
62
62
  _this.oBackingStorePixelRatio ||
63
63
  _this.backingStorePixelRatio || 1;
64
64
  return (window.devicePixelRatio || 1) / backingStore;
65
-
65
+ */
66
+ return 1;
66
67
  };
67
68
 
68
69
  forEach(ratioArgs, function(value, key) {
@@ -211,6 +212,8 @@
211
212
  })(prototype.getContext);
212
213
 
213
214
  prototype.setRect = (function(height, width) {
215
+ console.log(context, this);
216
+ console.log(getPixelRatio());
214
217
  if (context == null) return;
215
218
  this.style.height = height + 'px';
216
219
  this.style.width = width + 'px';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@millistream/millistream-widgets",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "Millistream widgets node package",
5
5
  "main": "millistream-widgets.js",
6
6
  "scripts": {