Changeset - r25647:654b04e21150
[Not reviewed]
master
0 1 0
TELK - 3 years ago 2021-06-13 08:06:50
telk5093@gmail.com
Fix #9362: Hover in online players window was slightly too big (#9364)

This causes graphical glitches at the bottom of the window.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/network_gui.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)