Closed megagrump closed 5 years ago
A workaround:
function love.load()
ui:frameBegin()
ui:stylePush(style)
ui:frameEnd()
end
It's not pretty, but the style sticks between frames.
v2.5 should solve this problem. Let me know if the issue persists.
Works fine now, thanks
Code to reproduce the issue:
Stack trace:
The error gets thrown when calling pushStyle() before calling frameBegin(). I have an app that pushes a style when it starts, before the first frameBegin() - this worked fine with an older version of love-nuklear.
Is this by design? Are static styles to be pushed in every frame?