mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Speed up the grid: don't repaint when uneeded.
Added a flag to only recalculate the axis when needed. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
addec6b69f
commit
4c9dd0e698
2 changed files with 10 additions and 2 deletions
|
@ -69,6 +69,7 @@ protected:
|
|||
bool lineVisibility;
|
||||
double labelScale;
|
||||
qreal line_size;
|
||||
bool changed;
|
||||
};
|
||||
|
||||
class DepthAxis : public DiveCartesianAxis {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue