Skip to content

Commit 8419b1b

Browse files
authored
Reset analyserZoomX/Y state for new opened logs (#717)
resolved issue #694: Reset analyserZoomX/Y state for new opened logs
1 parent 1012977 commit 8419b1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/graph_spectrum_plot.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ GraphSpectrumPlot.initialize = function(canvas, sysConfig) {
5454
this._invalidateCache();
5555
this._invalidateDataCache();
5656
this._logRateWarning = undefined;
57+
this._zoomX = 1;
58+
this._zoomY = 1;
5759
};
5860

5961
GraphSpectrumPlot.setZoom = function(zoomX, zoomY) {

0 commit comments

Comments
 (0)