mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:13:24 +00:00
More temperature plot position tuning
Depending on the options shown, the latest change appears to have moved the temperature graph a bit too low. This seems to work better in my experiments. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
434f19cf56
commit
c76cb59aa0
1 changed files with 2 additions and 2 deletions
|
@ -359,7 +359,7 @@ void ProfileWidget2::setupItemSizes()
|
|||
|
||||
// Temperature axis config
|
||||
itemPos.temperature.pos.on.setX(3);
|
||||
itemPos.temperature.pos.on.setY(60);
|
||||
itemPos.temperature.pos.on.setY(50);
|
||||
itemPos.temperatureAll.pos.on.setY(51);
|
||||
itemPos.temperature.pos.off.setX(-10);
|
||||
itemPos.temperature.pos.off.setY(40);
|
||||
|
@ -520,7 +520,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
|
|||
profileYAxis->updateTicks();
|
||||
|
||||
temperatureAxis->setMinimum(plotInfo.mintemp);
|
||||
temperatureAxis->setMaximum(plotInfo.maxtemp);
|
||||
temperatureAxis->setMaximum(plotInfo.maxtemp - plotInfo.mintemp > 2000 ? plotInfo.maxtemp : plotInfo.mintemp + 2000);
|
||||
|
||||
if (plotInfo.maxhr) {
|
||||
heartBeatAxis->setMinimum(plotInfo.minhr);
|
||||
|
|
Loading…
Add table
Reference in a new issue