1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00

made the default selection indicator scale correctly

This commit is contained in:
Ellpeck 2019-09-08 23:55:56 +02:00
parent b85afccaf5
commit 8397f47ec3

View file

@ -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);
}
};
}