Tweak ra lobby scrollpanel margins.
This commit is contained in:
@@ -90,6 +90,8 @@ namespace OpenRA.Widgets
|
|||||||
{
|
{
|
||||||
if (UpPressed && ListOffset <= 0) ListOffset += ScrollVelocity;
|
if (UpPressed && ListOffset <= 0) ListOffset += ScrollVelocity;
|
||||||
if (DownPressed) ListOffset -= ScrollVelocity;
|
if (DownPressed) ListOffset -= ScrollVelocity;
|
||||||
|
|
||||||
|
if (ListOffset > 0) ListOffset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool LoseFocus (MouseInput mi)
|
public override bool LoseFocus (MouseInput mi)
|
||||||
|
|||||||
@@ -33,13 +33,13 @@ Background@SERVER_LOBBY:
|
|||||||
Id:PLAYERSX
|
Id:PLAYERSX
|
||||||
X:20
|
X:20
|
||||||
Y:75
|
Y:75
|
||||||
Width:500
|
Width:504
|
||||||
Height:227
|
Height:227
|
||||||
Children:
|
Children:
|
||||||
Container@PLAYERS:
|
Container@PLAYERS:
|
||||||
Id:PLAYERS
|
Id:PLAYERS
|
||||||
X:2
|
X:5
|
||||||
Y:1
|
Y:5
|
||||||
Width:500
|
Width:500
|
||||||
Height:2270
|
Height:2270
|
||||||
Children:
|
Children:
|
||||||
|
|||||||
Reference in New Issue
Block a user