only display while you were away if there was a change
This commit is contained in:
parent
b93291cdac
commit
f092be94a8
1 changed files with 2 additions and 0 deletions
|
@ -586,6 +586,8 @@ namespace TouchyTickets {
|
|||
}
|
||||
|
||||
public static void DisplayWhileYouWereAway(TimeSpan passed, BigInteger ticketGen, double ticketPerSecondGen) {
|
||||
if (ticketGen <= 0 && ticketPerSecondGen <= 0)
|
||||
return;
|
||||
var infoBox = new Group(Anchor.TopLeft, Vector2.One, false) {
|
||||
OnDrawn = (e2, time, batch, alpha) => batch.Draw(batch.GetBlankTexture(), e2.DisplayArea, Color.Black * 0.35F)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue