Improve the thresholds a bit
This commit is contained in:
@@ -103,10 +103,10 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
{
|
{
|
||||||
var size = m.Bounds.Width + "x" + m.Bounds.Height;
|
var size = m.Bounds.Width + "x" + m.Bounds.Height;
|
||||||
var numberPlayableCells = m.Bounds.Width * m.Bounds.Height;
|
var numberPlayableCells = m.Bounds.Width * m.Bounds.Height;
|
||||||
if (numberPlayableCells >= 120 * 120) size += " (Large)";
|
if (numberPlayableCells >= 120 * 120) size += " (Huge)";
|
||||||
else if (numberPlayableCells >= 90 * 90) size += " (Medium)";
|
else if (numberPlayableCells >= 90 * 90) size += " (Large)";
|
||||||
else if (numberPlayableCells >= 60 * 60) size += " (Small)";
|
else if (numberPlayableCells >= 60 * 60) size += " (Medium)";
|
||||||
else size += " (Tiny)";
|
else size += " (Small)";
|
||||||
sizeWidget.GetText = () => size;
|
sizeWidget.GetText = () => size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user