mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Profile: store animation speed in profile object
When exporting dive pictures we don't want animations. Therefore, store the animation speed in the profile object to avoid nasty hacks with the preferences. This actually removes such a hack. Pictures and tooltips for now still use the values stored in the preferences, because their animations happen only on user-interactions. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2d9dc40171
commit
f93e0aafd5
3 changed files with 15 additions and 19 deletions
|
|
@ -90,6 +90,7 @@ public:
|
|||
void recalcCeiling();
|
||||
void setToolTipVisibile(bool visible);
|
||||
State currentState;
|
||||
int animSpeed;
|
||||
|
||||
signals:
|
||||
void fontPrintScaleChanged(double scale);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue