diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 6603dd588a..174bf95f69 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -228,12 +228,12 @@ struct DropdownWindow : Window { if (y + item_height < r.bottom) { bool selected = (this->selected_index == item->result); - if (selected) GfxFillRect(r.left + 2, y, r.right - 1, y + item_height - 1, PC_BLACK); + if (selected) GfxFillRect(r.left + 2, y + item_height / 2, r.right - 1, y + item_height * 3 / 2 - 1, PC_BLACK); - item->Draw(r.left, r.right, y, y + item_height, selected, colour); + item->Draw(r.left, r.right, y + item_height / 2, y + item_height * 3 / 2, selected, colour); if (item->masked) { - GfxFillRect(r.left + 1, y, r.right - 1, y + item_height - 1, _colour_gradient[colour][5], FILLRECT_CHECKER); + GfxFillRect(r.left + 1, y + item_height / 2, r.right - 1, y + item_height * 3 / 2 - 1, _colour_gradient[colour][5], FILLRECT_CHECKER); } } y += item_height;