From 882c81db22cc7507703784f1bbe92f8c7116656b Mon Sep 17 00:00:00 2001 From: futuremarc Date: Sun, 28 Jun 2015 19:16:44 -0400 Subject: [PATCH] removes !important --- lib/addons/p5.dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addons/p5.dom.js b/lib/addons/p5.dom.js index 7c6351588a..4604438707 100644 --- a/lib/addons/p5.dom.js +++ b/lib/addons/p5.dom.js @@ -929,7 +929,7 @@ } this.elt.setAttribute('width', aW * this._pInst._pixelDensity); this.elt.setAttribute('height', aH * this._pInst._pixelDensity); - this.elt.setAttribute('style', 'width:' + aW + 'px !important; height:' + aH + 'px !important;'); + this.elt.setAttribute('style', 'width:' + aW + 'px; height:' + aH + 'px'); this._pInst.scale(this._pInst._pixelDensity, this._pInst._pixelDensity); for (var prop in j) { this.elt.getContext('2d')[prop] = j[prop];