Fixed minimap sizing

This commit is contained in:
pelya
2020-03-23 00:27:59 +02:00
parent ef449023b2
commit 455f481c8d
2 changed files with 3 additions and 4 deletions

View File

@@ -175,7 +175,7 @@ public:
* Compute minimal required width of the legends.
* @return Minimally needed width for displaying the smallmap legends in pixels.
*/
inline int GetMinLegendWidth() const
inline uint GetMinLegendWidth() const
{
return WD_FRAMERECT_LEFT + this->min_number_of_columns * this->column_width;
}