Skip to content

Commit b8aae5f

Browse files
authored
Update src/core/environment.js
1 parent c85f3b9 commit b8aae5f

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
@@ -199,7 +199,7 @@ p5.prototype.focused = document.hasFocus();
199199
* strings: `'help'`, `'wait'`, `'crosshair'`, `'not-allowed'`, `'zoom-in'`,
200200
* and `'grab'`. If the path to an image is passed, as in
201201
* `cursor('assets/target.png')`, then the image will be used as the cursor.
202-
* Images must be in .cur, .gif, .jpg, .jpeg, or .png format and should be of 32 by 32 pixels dimensions.
202+
* Images must be in .cur, .gif, .jpg, .jpeg, or .png format and should be <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#icon_size_limits">at most 32 by 32 pixels large.</a>
203203
*
204204
* The parameters `x` and `y` are optional. If an image is used for the
205205
* cursor, `x` and `y` set the location pointed to within the image. They are

0 commit comments

Comments
 (0)