WAGE: Fixed menu highlight size

This commit is contained in:
Eugene Sandulenko 2016-01-11 20:51:48 +01:00
parent 644f1ef215
commit a65fdcf756

View File

@ -195,9 +195,9 @@ void Menu::render() {
font->drawString(&_gui->_screen, _items[i]->name, x, y, w, color);
if (_items[i]->bbox.bottom == 0) {
_items[i]->bbox.left = x;
_items[i]->bbox.left = x - 7;
_items[i]->bbox.top = y;
_items[i]->bbox.right = x + w;
_items[i]->bbox.right = x + w + 6;
_items[i]->bbox.bottom = y + font->getFontHeight();
}