mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare/zoom] Remove tuneXRange argument
The ability to perform a range search without changing the X range was only there to accomodate the Yauto feature. Change-Id: I8c2b61b447fbd3dc1f4e303dff06d1a8d6e7a4f2
This commit is contained in:
committed by
Émilie Feral
parent
07c52139b9
commit
ad6edffc07
@@ -261,9 +261,9 @@ void ContinuousFunction::setTMax(float tMax) {
|
||||
setCache(nullptr);
|
||||
}
|
||||
|
||||
void ContinuousFunction::rangeForDisplay(float * xMin, float * xMax, float * yMin, float * yMax, Poincare::Context * context, bool tuneXRange) const {
|
||||
void ContinuousFunction::rangeForDisplay(float * xMin, float * xMax, float * yMin, float * yMax, Poincare::Context * context) const {
|
||||
if (plotType() == PlotType::Cartesian) {
|
||||
protectedRangeForDisplay(xMin, xMax, yMin, yMax, context, tuneXRange, true);
|
||||
protectedRangeForDisplay(xMin, xMax, yMin, yMax, context, true);
|
||||
} else {
|
||||
fullXYRange(xMin, xMax, yMin, yMax, context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user