mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 19:20:45 +00:00
Don't ResetBounds when setDay is called to avoid changing overview graphs to full date range on BMI/Weight change
This commit is contained in:
parent
37483de62a
commit
2331bbba26
@ -275,7 +275,9 @@ void gGraph::setDay(Day *day)
|
|||||||
}
|
}
|
||||||
|
|
||||||
rmin_y = rmax_y = 0;
|
rmin_y = rmax_y = 0;
|
||||||
ResetBounds();
|
// This resets weight and bmi overview graphs to full date range when they are changed.
|
||||||
|
// is it required ever?
|
||||||
|
// ResetBounds();
|
||||||
}
|
}
|
||||||
|
|
||||||
void gGraph::setZoomY(short zoom)
|
void gGraph::setZoomY(short zoom)
|
||||||
|
Loading…
Reference in New Issue
Block a user