Skip to content

Commit f592f84

Browse files
author
Lauren McCarthy
committed
Merge pull request #975 from futuremarc/overflow-fix
removes overflow:hidden from size
2 parents f458219 + 92dcdac commit f592f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/addons/p5.dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@
10481048
this.width = aW;
10491049
this.height = aH;
10501050
}
1051-
this.elt.style.overflow = 'hidden';
1051+
10521052
this.width = this.elt.offsetWidth;
10531053
this.height = this.elt.offsetHeight;
10541054

0 commit comments

Comments
 (0)