Skip to content

Commit

Permalink
Reset analyserZoomX/Y state for new opened logs (betaflight#717)
Browse files Browse the repository at this point in the history
resolved issue betaflight#694: Reset analyserZoomX/Y state for new opened logs
  • Loading branch information
demvlad authored Mar 13, 2024
1 parent 1012977 commit 8419b1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/graph_spectrum_plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ GraphSpectrumPlot.initialize = function(canvas, sysConfig) {
this._invalidateCache();
this._invalidateDataCache();
this._logRateWarning = undefined;
this._zoomX = 1;
this._zoomY = 1;
};

GraphSpectrumPlot.setZoom = function(zoomX, zoomY) {
Expand Down

0 comments on commit 8419b1b

Please sign in to comment.