Skip to content

Commit

Permalink
Updated path for save png button on live view
Browse files Browse the repository at this point in the history
  • Loading branch information
andymanic committed May 24, 2022
1 parent 0a48ca1 commit 23e1dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OSRTT Launcher/OSRTT Launcher/LiveView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private void saveAsPNGBtn_Click(object sender, EventArgs e)
graphedData.Plot.Style(figureBackground: Color.Transparent, dataBackground: Color.Transparent);
graphedData.Plot.SaveFig(path + "\\" + d.ToString("yyMMdd-HHmmss") + "-Live-OSRTT.png", 1920, 1080, false);
graphedData.Plot.Style(figureBackground: bnColor, dataBackground: bnColor);
Process.Start("explorer.exe", resultsFolderPath);
Process.Start("explorer.exe", path);
}

private void saveGraphNoHSpanBtn_Click(object sender, EventArgs e)
Expand All @@ -280,7 +280,7 @@ private void saveGraphNoHSpanBtn_Click(object sender, EventArgs e)
graphedData.Plot.Style(figureBackground: Color.Transparent, dataBackground: Color.Transparent);
graphedData.Plot.SaveFig(path + "\\" + d.ToString("yyMMdd-HHmmss") + "-Live-OSRTT.png", 1920, 1080, false);
graphedData.Plot.Style(figureBackground: bnColor, dataBackground: bnColor);
Process.Start("explorer.exe", resultsFolderPath);
Process.Start("explorer.exe", path);

foreach (var i in plots)
{
Expand Down

0 comments on commit 23e1dd9

Please sign in to comment.