Tweak ra lobby scrollpanel margins.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -33,13 +33,13 @@ Background@SERVER_LOBBY:
|
||||
Id:PLAYERSX
|
||||
X:20
|
||||
Y:75
|
||||
Width:500
|
||||
Width:504
|
||||
Height:227
|
||||
Children:
|
||||
Container@PLAYERS:
|
||||
Id:PLAYERS
|
||||
X:2
|
||||
Y:1
|
||||
X:5
|
||||
Y:5
|
||||
Width:500
|
||||
Height:2270
|
||||
Children:
|
||||
|
||||
Reference in New Issue
Block a user