-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
different themes along different instances not working #59
Comments
In the mean time I solved it like this:
Then the instance get its own theme instance which I can mutate however I want |
Thanks for reporting and pointing out the very line of the bug. Unfortunately, a minimally invasive fix is not obvious (at least not to me)… |
Thanks for getting back so quickly! I have an okay-ish general way that I do in my game code. Here is the code:
This could perhaps be a helper function in the lib, or something. |
Whats the current state of theming atm? I would love to use this library for all in-game gui... rather than just a debug ui. |
Hiya guys! Thanks for this lib, I love it!
I have a problem with different instances with different themes, I can't get the solution in the docs to work. With some digging I think it is a bug in SUIT.
I think the problem is in the line below, it has a hard reference to the local theme table created on line 5.
https://github.com/vrld/SUIT/blob/ecce6820d7b72d324796850760e3b2d32e7e3fee/theme.lua#L18
Here is game code, that should work, but doesn't.
The text was updated successfully, but these errors were encountered: