Skip to content

Commit 9d05158

Browse files
authored
Merge pull request #8129 from yogan/fix/window-resized-param-type
Use correct type for event param of windowResized
2 parents d7f7fd4 + 1ef5e91 commit 9d05158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ p5.prototype.windowHeight = 0;
717717
* can be used for debugging or other purposes.
718718
*
719719
* @method windowResized
720-
* @param {UIEvent} [event] optional resize Event.
720+
* @param {Event} [event] optional resize Event.
721721
* @example
722722
* <div class="norender">
723723
* <code>

0 commit comments

Comments
 (0)