fix/cursor-hotspots · PurpleFuchs · 2 Dateien · +44 −6 · 2026-10-29
Zusammenfassung
Card 0e588a (analyst mechanism-correction applied).
Correction honored: the visible pivot is the *image* drawn at mouse.x,mouse.y in drawCursor — all six cursors were corner-pivoted, not just the four missing newCursor args (those only matter on the hardware path).
FILE_DrawOffsetTable: per-cursor{x,y}offsets applied indrawCursor(8,8 center for arrows/pickaxe; 10,1 for Hand, matching its hardware hotspot)- Matching
newCursorhotspot args added to the four cursors that lacked them (hardware path parity) - ibeam:
getSystemCursor('ibeam')shown while hovering a textfield —TextField.Hovering()exposes a per-frame flag set inDrawand reset inBeginDrawFrame - Deferred: grabbing-during-drag needs a cross-module window/slider drag registry that doesn't exist — follow-up card material
Geänderte Dateien (2)
| Source/GuiElements/Textfields/Textfield.lua | geändert | +9 −0 |
| Source/Objects/Gui/CursorManager.lua | geändert | +35 −6 |