mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[interactive_curve_view_range] Missing refresh
Fixes the following bug :
- Plot ln(x) (or any other curve that's normlalized by default)
- Go back and replace ln(x) with log(x) (or any other curve that's NOT
normalized by default)
--> The 'Equal Axes' button is still on.
Change-Id: I0ef50dc9866e908894bd4f5c3ade198f9b3ea318
This commit is contained in:
committed by
Émilie Feral
parent
f789bb156d
commit
ad7890a19c
@@ -168,8 +168,10 @@ void InteractiveCurveViewRange::setDefault() {
|
||||
}
|
||||
|
||||
/* If m_zoomNormalize was left active, xGridUnit() would return the value of
|
||||
* yGridUnit, even if the ranger were not truly normalized. */
|
||||
m_zoomNormalize = false;
|
||||
* yGridUnit, even if the ranger were not truly normalized. We use
|
||||
* setZoomNormalize to refresh the button in case the graph does not end up
|
||||
* normalized. */
|
||||
setZoomNormalize(false);
|
||||
|
||||
// Compute the interesting range
|
||||
m_delegate->interestingRanges(this);
|
||||
|
||||
Reference in New Issue
Block a user