Moved ContextualColor assignment

This commit is contained in:
Logan Saso committed 2016-02-28 15:40:19 -08:00
1 parent 4535e8f29b
commit fa6dcd93ed
1 file changed
+3 -1
@@ -32,7 +32,7 @@ namespace Artemis.Modules.Games.RocketLeague
Scale = 4; Scale = 4;
Enabled = Settings.Enabled; Enabled = Settings.Enabled;
Initialized = false; Initialized = false;
ContextualColor = Settings.ContextualColor;
} }
public RocketLeagueSettings Settings { get; set; } public RocketLeagueSettings Settings { get; set; }
@@ -50,6 +50,8 @@ namespace Artemis.Modules.Games.RocketLeague
{ {
Initialized = false; Initialized = false;
ContextualColor = Settings.ContextualColor;
_boostRect = new KeyboardRectangle(MainManager.KeyboardManager.ActiveKeyboard, 0, 0, new List<Color> _boostRect = new KeyboardRectangle(MainManager.KeyboardManager.ActiveKeyboard, 0, 0, new List<Color>
{ {
ColorHelpers.ToDrawingColor(Settings.MainColor), ColorHelpers.ToDrawingColor(Settings.MainColor),