small fixes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Michele Scandura 2021-09-24 11:02:22 +01:00
parent 5276055c4d
commit 099fca8ceb
2 changed files with 2 additions and 1 deletions

View File

@ -231,6 +231,7 @@ namespace Sledgemapper.UI
MenuCampaingNew.Enabled = true; MenuCampaingNew.Enabled = true;
MenuMapNew.Enabled = false; MenuMapNew.Enabled = false;
MenuMapOpen.Enabled = false; MenuMapOpen.Enabled = false;
MenuCampaignPlayers.Enabled = false;
lblCampaign.Text = "n/a"; lblCampaign.Text = "n/a";
lblMap.Text = "n/a"; lblMap.Text = "n/a";
CommunicationManager.SessionData.MapEntityAdded -= OnMapEntityAdded; CommunicationManager.SessionData.MapEntityAdded -= OnMapEntityAdded;

View File

@ -45,7 +45,7 @@ namespace Sledgemapper.UI
grid1.Widgets.Add(TxtCampaign); grid1.Widgets.Add(TxtCampaign);
BtnNewCampaign = new TextButton(); BtnNewCampaign = new TextButton();
BtnNewCampaign.Text = "New"; BtnNewCampaign.Text = "Invite";
BtnNewCampaign.Padding = new Thickness(10, 5); BtnNewCampaign.Padding = new Thickness(10, 5);
BtnNewCampaign.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center; BtnNewCampaign.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;
BtnNewCampaign.Id = "BtnNewCampaign"; BtnNewCampaign.Id = "BtnNewCampaign";