1
0
Fork 0

(svn r18261) -Codechange: center the company icons in the toolbar dropdowns

release/1.0
rubidium 2009-11-23 20:14:42 +00:00
parent b351de15d9
commit fb168e25ad
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ public:
/* It's possible the company is deleted while the dropdown is open */
if (!Company::IsValidID(company)) return;
DrawCompanyIcon(company, rtl ? right - 16 : left + 2, top + 1);
DrawCompanyIcon(company, rtl ? right - 16 : left + 2, top + 1 + (FONT_HEIGHT_NORMAL - 10) / 2);
SetDParam(0, company);
SetDParam(1, company);