cabana: clear zoom stack after reset zoom (#27716)

old-commit-hash: 2f954a50e3b34b8a38878bf8dbd37e359c0c6d3f
This commit is contained in:
Dean Lee
2023-03-29 02:50:19 +08:00
committed by GitHub
parent f4d0b68a21
commit ad5b489005
+1
View File
@@ -145,6 +145,7 @@ void ChartsWidget::zoomIn(double min, double max) {
void ChartsWidget::zoomReset() {
setZoom(display_range.first, display_range.second);
zoom_stack.clear();
}
void ChartsWidget::zoomUndo() {