Set screen location of every NativeUI to new Point(0, screenRes.y / 3)
This commit is contained in:
@@ -60,7 +60,7 @@ export default function weaponList(globalData: IGlobalData) {
|
||||
dealItem.BackColor = new Color(204, 170, 0);
|
||||
dealItem.HighlightedBackColor = new Color(255, 213, 0);
|
||||
|
||||
weaponMenu = new Menu("Waffenschrank", "Stelle deine Waffenausrüstung zusammen", new Point(50, 50), null, null);
|
||||
weaponMenu = new Menu("Waffenschrank", "Stelle deine Waffenausrüstung zusammen", new Point(0, screenRes.y / 3), null, null);
|
||||
|
||||
weaponMenu.AddItem(new UIMenuListItem("Primäre", "", new ItemsCollection(secondaries)));
|
||||
weaponMenu.AddItem(new UIMenuListItem("Sekundäre", "", new ItemsCollection(primaries)));
|
||||
@@ -116,7 +116,7 @@ export default function weaponList(globalData: IGlobalData) {
|
||||
|
||||
|
||||
function getWeaponStockMenu(parentMenu: NativeUI.Menu, ): NativeUI.Menu {
|
||||
var weaponStockMenu = new NativeUI.Menu("Bestand","", new Point(50, 50), null, null);
|
||||
var weaponStockMenu = new NativeUI.Menu("Bestand","", new Point(0, screenRes.y / 3), null, null);
|
||||
|
||||
var menuItem = new UIMenuItem("Pistol");
|
||||
menuItem.SetRightLabel(pistol_Amount);
|
||||
|
||||
Reference in New Issue
Block a user