diff --git a/Aurora/Aurora.csproj b/Aurora/Aurora.csproj index 9a68ccd..d12e469 100644 --- a/Aurora/Aurora.csproj +++ b/Aurora/Aurora.csproj @@ -43,6 +43,9 @@ + + + Player.xaml diff --git a/Aurora/Design/Components/Library/Library.css b/Aurora/Design/Components/Library/Library.css index a5bbdb6..60618b0 100644 --- a/Aurora/Design/Components/Library/Library.css +++ b/Aurora/Design/Components/Library/Library.css @@ -1,3 +1,6 @@ Label { margin-left: 25; + text-align: left; + vertical-align: middle; + word-wrap: break-word; } diff --git a/Aurora/Design/Components/Library/Library.xaml b/Aurora/Design/Components/Library/Library.xaml index 805c643..568b717 100644 --- a/Aurora/Design/Components/Library/Library.xaml +++ b/Aurora/Design/Components/Library/Library.xaml @@ -14,7 +14,6 @@ SelectionEnabled="True" RowHeight="30" BorderColor="#3a3a3a" - BorderThickness="0" HeaderFontSize="14" HeaderHeight="45" HeaderTextColor="White" @@ -27,7 +26,7 @@ + Width="15"> @@ -43,9 +42,7 @@ @@ -58,9 +55,7 @@ @@ -72,19 +67,18 @@ + White + Transparent diff --git a/Aurora/Design/Components/NavigationMenu/NavigationMenu.css b/Aurora/Design/Components/NavigationMenu/NavigationMenu.css index a320db9..7044720 100644 --- a/Aurora/Design/Components/NavigationMenu/NavigationMenu.css +++ b/Aurora/Design/Components/NavigationMenu/NavigationMenu.css @@ -17,11 +17,12 @@ ListView { font-size: 12; font-family: Courier New, Courier, monospace; font-style: italic; - padding-top: 18; + padding-top: 20; } -#ItemCell label { +#ItemCell Label { color: white; + background-color: #232323; font-size: 15; font-family: Courier New, Courier, monospace; font-style: normal; diff --git a/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml b/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml index de69dae..41cc5ac 100644 --- a/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml +++ b/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml @@ -2,6 +2,7 @@ diff --git a/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml.cs b/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml.cs index 5f7942f..f33b698 100644 --- a/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml.cs +++ b/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml.cs @@ -11,8 +11,13 @@ namespace Aurora.Design.Components.NavigationMenu { InitializeComponent(); ListView = MenuItemsListView; + } + private void ListView_ItemSelected(object sender, SelectedItemChangedEventArgs e) + { + throw new NotImplementedException(); + } public ListView ListView; diff --git a/Aurora/Services/ClientService/ClientService.cs b/Aurora/Services/ClientService/ClientService.cs index 6aeb47b..a3c0c58 100644 --- a/Aurora/Services/ClientService/ClientService.cs +++ b/Aurora/Services/ClientService/ClientService.cs @@ -140,7 +140,7 @@ namespace Aurora.Services.ClientService public void StopEvents() { - if (!_eventCancellationTokenSource.IsCancellationRequested) + if (_eventCancellationTokenSource != null && !_eventCancellationTokenSource.IsCancellationRequested) { _eventCancellationTokenSource.Cancel(); }