mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-03 01:38:09 +01:00
This causes graphical glitches at the bottom of the window.
This commit is contained in:
parent
418e0ea85f
commit
2d0abf5a76
@ -2349,7 +2349,7 @@ public:
|
|||||||
|
|
||||||
if (this->hover_index >= 0) {
|
if (this->hover_index >= 0) {
|
||||||
uint offset = this->hover_index * this->line_height;
|
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);
|
NetworkClientInfo *own_ci = NetworkClientInfo::GetByClientID(_network_own_client_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user