stable id - fixes input for immediate mode
This commit is contained in:
@@ -11,6 +11,7 @@ _G.love = loveStub
|
||||
|
||||
-- Load FlexLove after setting up love stub
|
||||
local FlexLove = require("FlexLove")
|
||||
local StateManager = require("modules.StateManager")
|
||||
|
||||
-- Test fixtures
|
||||
local testElement
|
||||
@@ -54,6 +55,9 @@ function TestInputField:tearDown()
|
||||
love.keyboard.setDown("lgui", false)
|
||||
love.keyboard.setDown("rgui", false)
|
||||
|
||||
-- Clear StateManager to prevent test contamination
|
||||
StateManager.reset()
|
||||
|
||||
testElement = nil
|
||||
FlexLove.Gui.topElements = {}
|
||||
FlexLove.Gui._focusedElement = nil
|
||||
|
||||
Reference in New Issue
Block a user