1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-23 05:08:34 +01:00

disallow progress bars from being selected

This commit is contained in:
Ellpeck 2019-09-11 10:51:57 +02:00
parent e38d95c665
commit 88ce9de00a

View file

@ -29,6 +29,7 @@ namespace MLEM.Ui.Elements {
this.Direction = direction; this.Direction = direction;
this.MaxValue = maxValue; this.MaxValue = maxValue;
this.currentValue = currentValue; this.currentValue = currentValue;
this.CanBeSelected = false;
} }
public override void Draw(GameTime time, SpriteBatch batch, float alpha) { public override void Draw(GameTime time, SpriteBatch batch, float alpha) {