flamendless / Slab

An immediate mode GUI for the Love2D framework.
MIT License
286 stars 25 forks source link

Overriding event handlers has infinite recursion error #152

Closed pakeke-constructor closed 1 year ago

pakeke-constructor commented 1 year ago

If we set dontInterceptEventHandlers to true, and we call Slab.TextInput(...) manually, we get a max recursion error.

This is because Slab.TextInput contains a call to love.textinput.

I can fix this, it should only be a few LOC

flamendless commented 1 year ago

PR merged! Thank you