ui: correct cursor hotspot to 0,0

This has never been correct, but worked because the container is always in the
client frame at 0,0
This commit is contained in:
Adam
2020-03-06 16:04:23 -05:00
parent 26a84c34dd
commit 92c588c348

View File

@@ -609,7 +609,7 @@ public class ClientUI
return;
}
final java.awt.Point hotspot = new java.awt.Point(container.getX(), container.getY());
final java.awt.Point hotspot = new java.awt.Point(0, 0);
final Cursor cursorAwt = Toolkit.getDefaultToolkit().createCustomCursor(image, hotspot, name);
container.setCursor(cursorAwt);
}