git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1205 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-13 15:22:38 +00:00
parent b0213cb005
commit 9262c15cf2
2 changed files with 4 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ namespace OpenRa.Game
x1 = e.X;
y1 = e.Y;
scrollPos.X = Util.Constrain( scrollPos.X, new Range<float>(0, map.Width * 24 - ClientSize.Width));
scrollPos.X = Util.Constrain(scrollPos.X, new Range<float>(0, map.Width * 24 - ClientSize.Width));
scrollPos.Y = Util.Constrain(scrollPos.Y, new Range<float>(0, map.Height * 24 - ClientSize.Height));
}
}