From 2d0abf5a7643afb2b37ca8902d13f1df5c14f5ee Mon Sep 17 00:00:00 2001 From: TELK Date: Sun, 13 Jun 2021 17:06:50 +0900 Subject: [PATCH] Fix #9362: Hover in online players window was slightly too big (#9364) This causes graphical glitches at the bottom of the window. --- src/network/network_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 9048ad8549..3cdece77c5 100644 --- 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);