mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Only recalculate the tooltip if time has changed
Small optimization, but seems to make sense. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
43997d3b36
commit
08490785b2
2 changed files with 8 additions and 2 deletions
|
|
@ -56,6 +56,7 @@ private:
|
|||
QRectF nextRectangle;
|
||||
DiveCartesianAxis *timeAxis;
|
||||
plot_info pInfo;
|
||||
int lastTime;
|
||||
};
|
||||
|
||||
#endif // DIVETOOLTIPITEM_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue