bug: Side-specific border coloring with .xml values does not work #47
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.luaseems 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!
Hello! Thank you very much - also thanks for fixing it yourself and providing me the code! This issue got fixed in 6f0ddd6.