mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 14:38:34 +01:00
made the default selection indicator scale correctly
This commit is contained in:
parent
b85afccaf5
commit
8397f47ec3
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ namespace MLEM.Ui {
|
||||||
|
|
||||||
this.OnSelectedElementDrawn = (element, time, batch, alpha) => {
|
this.OnSelectedElementDrawn = (element, time, batch, alpha) => {
|
||||||
if (!this.Controls.SelectedLastElementWithMouse && element.SelectionIndicator != null) {
|
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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue