Skip to content

Commit 56e98d8

Browse files
committed
Draw scale after state is reapplied
1 parent 5810ddb commit 56e98d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OpenEphys.Onix1.Design/Rhs2116StimulusSequenceDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,6 @@ private void DrawStimulusWaveform(bool setZoomState = true)
330330
return Math.Abs(val).ToString("0");
331331
};
332332

333-
DrawScale();
334-
335333
SetZoomOutBoundaries(zedGraphWaveform);
336334

337335
dataGridViewStimulusTable.Refresh();
@@ -347,6 +345,8 @@ private void DrawStimulusWaveform(bool setZoomState = true)
347345
if (!CheckZoomBoundaries(zedGraphWaveform))
348346
zedGraphWaveform.ZoomOutAll(zedGraphWaveform.GraphPane);
349347

348+
DrawScale();
349+
350350
zedGraphWaveform.AxisChange();
351351
zedGraphWaveform.Refresh();
352352
}

0 commit comments

Comments
 (0)