You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See error: Basalt error: .../basaltDraw.lua:202: bad argument (string expected, got nil)
Expected behavior
A button with the text "Hello" should appear with a blue border only along the bottom
Additional context
Changing these four lines (138-141) in Object.lua seems to fix it! Just had to wrap the xmlValue(...) return with colors[...], like the other surrounding code does.
Describe the bug
Side-specific border coloring when making the UI with .xml does not work properly.
To Reproduce
Steps to reproduce the behavior:
Basalt error: .../basaltDraw.lua:202: bad argument (string expected, got nil)
Expected behavior
A button with the text "Hello" should appear with a blue border only along the bottom
Additional context
Changing these four lines (138-141) in
Object.lua
seems to fix it! Just had to wrap thexmlValue(...)
return withcolors[...]
, like the other surrounding code does.Checklist
[x] I am running the latest version.
Tick the box if you are running the latest version!
The text was updated successfully, but these errors were encountered: