remove debug println
This commit is contained in:
@@ -151,15 +151,12 @@ public partial class App : Form
|
||||
|
||||
private void OnDrawTimer()
|
||||
{
|
||||
Console.WriteLine("A");
|
||||
while (_sampleQueue.Count > 0)
|
||||
{
|
||||
_samples.Add(_sampleQueue.Dequeue());
|
||||
}
|
||||
|
||||
var frameTimeStart = TimeProvider.System.GetTimestamp();
|
||||
Console.WriteLine(TimeProvider.System.GetElapsedTime(_frameTimeStart, frameTimeStart).TotalMilliseconds);
|
||||
_frameTimeStart = frameTimeStart;
|
||||
_frameTimeStart = TimeProvider.System.GetTimestamp();
|
||||
|
||||
speedGaugeCanvas.Refresh();
|
||||
graphPanel.Refresh();
|
||||
@@ -257,9 +254,6 @@ public partial class App : Form
|
||||
brakeLabel.BackColor = sample is { BrakeFlag: true } ? Color.DarkRed : StatusGrayColor;
|
||||
|
||||
_lastDrawnSample = sample;
|
||||
|
||||
Console.WriteLine(TimeProvider.System.GetElapsedTime(frameTimeStart).TotalMilliseconds);
|
||||
Console.WriteLine("B");
|
||||
}
|
||||
|
||||
private void speedGaugePanel_Paint(object sender, PaintEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user