Skip to content

Commit

Permalink
Removed tracking for if plot has focus - not used
Browse files Browse the repository at this point in the history
  • Loading branch information
ajn96 committed Jan 22, 2025
1 parent 8d02775 commit 481c6cd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/DataPlotGUI.vb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Public Class DataPlotGUI
Private plotMutex As Mutex
Private CSVRegData As List(Of String())
Private plotYLabel As String
Private plotFocus As Boolean
Private numberPlotAreas As Integer

Private Const PLOT_LABEL As String = "Scaled Data"
Expand Down Expand Up @@ -309,10 +308,6 @@ Public Class DataPlotGUI
playBackRunning = False
End Sub

Private Sub DataPlotMouseClick() Handles dataPlot.MouseClick
plotFocus = True
End Sub

Private Sub axis_autoscale_CheckedChanged(sender As Object, e As EventArgs) Handles axis_autoscale.CheckedChanged
Dim zoomFlag As Boolean = Not axis_autoscale.Checked
For Each chart In dataPlot.ChartAreas
Expand Down Expand Up @@ -344,10 +339,6 @@ Public Class DataPlotGUI
ApplyYAxisTitles()
End Sub

Private Sub FormClick() Handles Me.Click
plotFocus = False
End Sub

#End Region

#Region "Helper Functions"
Expand Down Expand Up @@ -679,9 +670,6 @@ Public Class DataPlotGUI
'Set plotter position
plotXPosition = 0

'plot out of focus
plotFocus = False

'Remove all existing series
dataPlot.Series.Clear()

Expand Down

0 comments on commit 481c6cd

Please sign in to comment.