Skip to content

Commit 3c29209

Browse files
committed
Fix mediaElement.copy
1 parent 6d4540c commit 3c29209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dom/p5.MediaElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ class MediaElement extends Element {
816816
}
817817
copy(...args) {
818818
this._ensureCanvas();
819-
fn.copy.apply(this, args);
819+
p5.prototype.copy.apply(this, args);
820820
}
821821
mask(...args) {
822822
this.loadPixels();

0 commit comments

Comments
 (0)