hard-coded ScrollVelocity to YAML

This commit is contained in:
Matthias Mailänder
2014-01-21 15:22:05 +01:00
committed by Matthias Mailänder
parent 153aba469d
commit d514689ec7
3 changed files with 2 additions and 1 deletions

View File

@@ -36,7 +36,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
widget.Get<ButtonWidget>("BUTTON_CANCEL").OnClick = () => { Ui.CloseWindow(); onExit(); };
scrollpanel = widget.Get<ScrollPanelWidget>("MAP_LIST");
scrollpanel.ScrollVelocity = 40f;
scrollpanel.Layout = new GridLayout(scrollpanel);
itemTemplate = scrollpanel.Get<ScrollItemWidget>("MAP_TEMPLATE");