From 8397f47ec3ea5f40dabaf087875be8ebc860f767 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 8 Sep 2019 23:55:56 +0200 Subject: [PATCH] made the default selection indicator scale correctly --- MLEM.Ui/UiSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLEM.Ui/UiSystem.cs b/MLEM.Ui/UiSystem.cs index a0ce2df..1d402bc 100644 --- a/MLEM.Ui/UiSystem.cs +++ b/MLEM.Ui/UiSystem.cs @@ -76,7 +76,7 @@ namespace MLEM.Ui { this.OnSelectedElementDrawn = (element, time, batch, alpha) => { if (!this.Controls.SelectedLastElementWithMouse && element.SelectionIndicator != null) { - batch.Draw(element.SelectionIndicator, element.DisplayArea, Color.White * alpha); + batch.Draw(element.SelectionIndicator, element.DisplayArea, Color.White * alpha, element.Scale / 2); } }; }