mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare/zoom] Move automatic zoom to Poincare
Change-Id: I7a70ab54b33b9150682cc4f999ff4999a8288b7f
This commit is contained in:
committed by
Émilie Feral
parent
7499a9e0a4
commit
d2b36be846
@@ -263,7 +263,7 @@ void ContinuousFunction::setTMax(float tMax) {
|
||||
|
||||
void ContinuousFunction::rangeForDisplay(float * xMin, float * xMax, float * yMin, float * yMax, Poincare::Context * context, bool tuneXRange) const {
|
||||
if (plotType() == PlotType::Cartesian) {
|
||||
Function::rangeForDisplay(xMin, xMax, yMin, yMax, context, tuneXRange);
|
||||
protectedRangeForDisplay(xMin, xMax, yMin, yMax, context, tuneXRange, true);
|
||||
} else {
|
||||
fullXYRange(xMin, xMax, yMin, yMax, context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user