Fix #9362: Hover in online players window was slightly too big (#9364)

This causes graphical glitches at the bottom of the window.

(cherry picked from commit 2d0abf5a76)
pull/326/head
TELK 3 years ago committed by Jonathan G Rennison
parent 057e858d32
commit 3e78624965

@ -2352,7 +2352,7 @@ public:
if (this->hover_index >= 0) {
uint offset = this->hover_index * this->line_height;
GfxFillRect(r.left + 2, r.top + offset, r.right - 1, r.top + offset + this->line_height - 1, GREY_SCALE(9));
GfxFillRect(r.left + 2, r.top + offset, r.right - 1, r.top + offset + this->line_height - 2, GREY_SCALE(9));
}
NetworkClientInfo *own_ci = NetworkClientInfo::GetByClientID(_network_own_client_id);

Loading…
Cancel
Save