mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r23867) -Fix [FS#5020]: make the colour of the dropdown items for opening the vehicle list for which the company has no vehicles looking less horrid
This commit is contained in:
parent
c9a7eb2571
commit
2f49c9af85
|
@ -146,7 +146,7 @@ public:
|
||||||
SetDParam(1, company);
|
SetDParam(1, company);
|
||||||
TextColour col;
|
TextColour col;
|
||||||
if (this->greyed) {
|
if (this->greyed) {
|
||||||
col = TC_GREY;
|
col = (sel ? TC_SILVER : TC_GREY) | TC_NO_SHADE;
|
||||||
} else {
|
} else {
|
||||||
col = sel ? TC_WHITE : TC_BLACK;
|
col = sel ? TC_WHITE : TC_BLACK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue