Skip to content

Commit

Permalink
common: minor ui change
Browse files Browse the repository at this point in the history
  • Loading branch information
Cpasjuste committed Mar 21, 2022
1 parent ecba5e6 commit 19fb3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/c2dui_ui_listbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void UIListBox::init(Font *font, int fontSize, bool useIcons) {

// add lines of text
for (unsigned int i = 0; i < (unsigned int) max_lines; i++) {
FloatRect r = {1, (line_height * i) + 1, getSize().x - 2, line_height - 2};
FloatRect r = {1, (line_height * i), getSize().x - 2, line_height - 2};
Texture *icon = nullptr;
/*
* TODO: fix icons
Expand Down

0 comments on commit 19fb3f3

Please sign in to comment.