Clean up some uses of rect.Contains(int2).

This commit is contained in:
Paul Chote
2011-07-14 21:47:09 +12:00
parent 8390644fbe
commit 05acdc9b98
4 changed files with 6 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ namespace OpenRA.Widgets
break;
}
return thumbRect.Contains(mi.Location.X, mi.Location.Y);
return thumbRect.Contains(mi.Location);
}
float OffsetBy(float amount)