Corsair - Added Dominator Platinum RGB layout

Core - Improved startup logging
This commit is contained in:
SpoinkyNL committed 2020-06-21 23:50:43 +02:00
1 parent 45177c848b
commit 2bbe6b6b07
8 files changed
+236 -19

No files matched your search

+1 -4
View File
@@ -93,10 +93,7 @@ namespace Artemis.UI.Screens
private void UpdateWindowTitle()
{
var versionAttribute = typeof(RootViewModel).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>();
if (versionAttribute != null)
WindowTitle = $"Artemis {versionAttribute.InformationalVersion} - Frame time: {_coreService.FrameTime.TotalMilliseconds:F2} ms";
else
WindowTitle = $"Artemis - Frame time: {_coreService.FrameTime.TotalMilliseconds:F2} ms";
WindowTitle = $"Artemis {versionAttribute?.InformationalVersion} - Frame time: {_coreService.FrameTime.TotalMilliseconds:F2} ms";
}
private void SidebarViewModelOnPropertyChanged(object sender, PropertyChangedEventArgs e)