diff --git a/Artemis/Artemis/InjectionModules/BaseModules.cs b/Artemis/Artemis/InjectionModules/BaseModules.cs index af74463cf..7018eef22 100644 --- a/Artemis/Artemis/InjectionModules/BaseModules.cs +++ b/Artemis/Artemis/InjectionModules/BaseModules.cs @@ -93,7 +93,7 @@ namespace Artemis.InjectionModules Kernel.Bind(x => x.FromThisAssembly() .SelectAllClasses() - .InheritedFrom() + .InheritedFrom() .BindAllInterfaces()); Kernel.Bind(x => x.FromThisAssembly() diff --git a/Artemis/Artemis/Models/KeybindModel.cs b/Artemis/Artemis/Models/KeybindModel.cs index 0f9c3714c..1b4587648 100644 --- a/Artemis/Artemis/Models/KeybindModel.cs +++ b/Artemis/Artemis/Models/KeybindModel.cs @@ -23,10 +23,10 @@ namespace Artemis.Models } public string Name { get; set; } - public MouseButtons MouseButtons { get; } public HotKey HotKey { get; set; } - public Action Action { get; set; } + public MouseButtons MouseButtons { get; } public KeyType KeyType { get; set; } + public Action Action { get; set; } public void InvokeIfMatched(HotKey hotKey, KeyType keyType) { @@ -34,7 +34,7 @@ namespace Artemis.Models return; if (hotKey.Equals(HotKey)) - Action?.Invoke(); + Action?.Invoke(); } public void InvokeIfMatched(MouseButtons mouseButtons, KeyType keyType) diff --git a/Artemis/Artemis/Modules/Games/AssettoCorsa/AssettoCorsaView.xaml b/Artemis/Artemis/Modules/Games/AssettoCorsa/AssettoCorsaView.xaml index f531cbb36..96823eaec 100644 --- a/Artemis/Artemis/Modules/Games/AssettoCorsa/AssettoCorsaView.xaml +++ b/Artemis/Artemis/Modules/Games/AssettoCorsa/AssettoCorsaView.xaml @@ -1,70 +1,51 @@  - - + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:cal="http://www.caliburnproject.org" + xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls" + mc:Ignorable="d" + d:DesignHeight="600" d:DesignWidth="900"> + + + - - + - - - - - - - - - - + + - - The Assetto Corsa module uses the - - Assetto Corsa Shared Memory Library - - project by mdjarv - - - - + + + The Assetto Corsa module uses the Assetto Corsa Shared Memory Library project by mdjarv. + + + + + - + - - - - +