Tweak ra lobby scrollpanel margins.

This commit is contained in:
Paul Chote
2010-11-28 10:41:41 +13:00
parent 748a055a24
commit 306bece709
2 changed files with 5 additions and 3 deletions

View File

@@ -90,6 +90,8 @@ namespace OpenRA.Widgets
{
if (UpPressed && ListOffset <= 0) ListOffset += ScrollVelocity;
if (DownPressed) ListOffset -= ScrollVelocity;
if (ListOffset > 0) ListOffset = 0;
}
public override bool LoseFocus (MouseInput mi)