Skip to content

Commit

Permalink
Correct Decrease Colour
Browse files Browse the repository at this point in the history
  • Loading branch information
Roeterdink committed Nov 15, 2023
1 parent ebafd5d commit 794fddf
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -2999,6 +2999,7 @@ public override void PrepareFrame(RenderFrame frame, ElapsedTime elapsedTime)
// <CSComment> Now speedometer is handled like the other digitals

base.PrepareFrame(frame, elapsedTime);
digital.OldValue = Num;
}

public override void Draw(GraphicsDevice graphicsDevice)
Expand Down Expand Up @@ -3072,6 +3073,8 @@ public string GetDigits(out Color DrawColor)
displayedText = String.Format(Format, Num);
DrawColor = Color.White;
}
digital.OldValue = Num;

// <CSComment> Speedometer is now managed like the other digitals

return displayedText;
Expand Down Expand Up @@ -3148,6 +3151,8 @@ public string GetDigits(out Color DrawColor)
{
displayedText = String.Format(Format, Num);
}
digital.OldValue = Num;

// <CSComment> Speedometer is now managed like the other digitals

return displayedText;
Expand Down

0 comments on commit 794fddf

Please sign in to comment.