Skip to content

Commit

Permalink
removes !important
Browse files Browse the repository at this point in the history
  • Loading branch information
futuremarc committed Jun 28, 2015
1 parent 2073220 commit 882c81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/addons/p5.dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 882c81d

Please sign in to comment.