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

This causes graphical glitches at the bottom of the window.
pull/332/head
TELK 3 years ago committed by GitHub
parent 418e0ea85f
commit 2d0abf5a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2349,7 +2349,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