Issues with Listbox with an image #158
-
Hello. I have two issues on listbox item with an image. I have a code that draws a background image and window with listbox. Listbox contains 10 items with a image and text, which placed in same line. Please check Listbox_Bug.zip: First issue: Background image turns into dark screen. It does not happen when user placed mouse pointer on scrollbar. Second issue: User can't select last item in the listbox. If anyone can check those issue it will be very appreciated. I slightly modified the code in SlabTest.lua, so maybe I'm doing something wrong. Thank you for sparing your time and checking my issue. 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Update: Just solved the first issue by calling love.graphics.setColor(1, 1, 1, 1) manually. For second issue, I tried exact same code from the documentation(https://github.com/flamendless/Slab/wiki/ListBox), but it works as same behavior(user can't select last item.):
I also attach my .love file: Listbox.zip Edit: The issue is only reproduced on master branch. Using latest release(https://github.com/flamendless/Slab/releases/tag/v0.9.0) of Slab issue dosen't reproduced. |
Beta Was this translation helpful? Give feedback.
-
@NoRuBal This is definitely a bug, please file an issue so we can track it better :) the fix should be easy |
Beta Was this translation helpful? Give feedback.
@NoRuBal This is definitely a bug, please file an issue so we can track it better :) the fix should be easy