From de475a58d590433122ebe257167df146dde1e231 Mon Sep 17 00:00:00 2001 From: OpenSauce Date: Mon, 18 Dec 2023 02:05:05 +0000 Subject: [PATCH] Moved hotspot for `TEXT` cursor type to center of icon --- core/src/processing/opengl/PSurfaceJOGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index 4979b6a75..7faa451aa 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -1237,7 +1237,7 @@ public void setCursor(int kind) { y = 8; } else if (kind == PConstants.TEXT) { x = 16; - y = 22; + y = 16; } cursor = new CursorInfo(img, x, y); cursors.put(kind, cursor);