# HG changeset patch # User TELK # Date 2021-06-13 08:06:50 # Node ID 654b04e211500332ec1171b87e132241cc8dd453 # Parent 7c6dea776a24995e169425b44a327a2ff599a708 Fix #9362: Hover in online players window was slightly too big (#9364) This causes graphical glitches at the bottom of the window. diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -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);