mostly better, still buggy in scrollable areas

This commit is contained in:
Michael Freno
2025-11-02 18:37:54 -05:00
parent ddc36bd7a6
commit bc7bcc4ae6
3 changed files with 63 additions and 32 deletions

View File

@@ -7,22 +7,22 @@
local GuiState = {
-- Top-level elements
topElements = {},
-- Base scale configuration
baseScale = nil, -- {width: number, height: number}
-- Current scale factors
scaleFactors = { x = 1.0, y = 1.0 },
-- Default theme name
defaultTheme = nil,
-- Currently focused element (for keyboard input)
_focusedElement = nil,
-- Active event element (for current frame)
_activeEventElement = nil,
-- Cached viewport dimensions
_cachedViewport = { width = 0, height = 0 },
}