Comparing version 1.2.0 to 1.2.1
@@ -38,4 +38,4 @@ const Random = require('./random.js'); | ||
this.width = this.canvasElement.width = this.containerElement.width; | ||
this.height = this.canvasElement.height = this.containerElement.height; | ||
this.width = this.canvasElement.width = this.containerElement.clientWidth; | ||
this.height = this.canvasElement.height = this.containerElement.clientHeight; | ||
@@ -42,0 +42,0 @@ this.generateBubbles(this.width * this.height * this.bubbleDensity); |
{ | ||
"name": "carbonator", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Carbonate your web pages.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
10698