Files
FlexLove/modules/Element.lua
Michael Freno 32cc418449 feat: add customDraw callback support to Element
- Add customDraw property to Element.new() for custom rendering callbacks
- Add getComputedBox() method to access element's content area position/size
- Call customDraw in Element:draw() between text and children (Layer 4.5)
- Graphics state isolated with push/pop and color reset
- Enables rendering custom content (e.g. game objects) within UI elements
2026-01-05 10:37:15 -05:00

146 KiB