mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:43:24 +00:00
Flip tank pressure graph to show the RIGHT way
This annoyed me from the first moment Linus added the tank pressure graph. As the pressure goes down, the graph needs to go down. Seriously. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bbf5f960e1
commit
d5b102bdf3
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ static int get_cylinder_pressure_range(struct graphics_context *gc, struct plot_
|
||||||
gc->leftx = 0;
|
gc->leftx = 0;
|
||||||
gc->rightx = get_maxtime(pi);
|
gc->rightx = get_maxtime(pi);
|
||||||
|
|
||||||
gc->topy = 0; gc->bottomy = pi->maxpressure * 1.5;
|
gc->bottomy = 0; gc->topy = pi->maxpressure * 1.5;
|
||||||
return pi->maxpressure != 0;
|
return pi->maxpressure != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue