()
| 1506 | |
| 1507 | |
| 1508 | @Override |
| 1509 | public void showCursor() { |
| 1510 | // Maybe should always set here? Seems dangerous, since it's likely that |
| 1511 | // Java will set the cursor to something else on its own, and the sketch |
| 1512 | // will be stuck b/c p5 thinks the cursor is set to one particular thing. |
| 1513 | if (!cursorVisible) { |
| 1514 | cursorVisible = true; |
| 1515 | canvas.setCursor(Cursor.getPredefinedCursor(cursorType)); |
| 1516 | } |
| 1517 | } |
| 1518 | |
| 1519 | |
| 1520 | @Override |