mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Improve responsiveness of drag seek during click-scrub...
.. by refreshing the TrackPanel window less often.
This commit is contained in:
@@ -256,6 +256,19 @@ private:
|
||||
}
|
||||
#endif
|
||||
|
||||
friend inline bool operator ==
|
||||
(const SelectedRegion &lhs, const SelectedRegion &rhs)
|
||||
{
|
||||
return
|
||||
lhs.mT0 == rhs.mT0
|
||||
&& lhs.mT1 == rhs.mT1
|
||||
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
||||
&& lhs.mF0 == rhs.mF0
|
||||
&& lhs.mF1 == rhs.mF1
|
||||
#endif
|
||||
;
|
||||
}
|
||||
|
||||
double mT0;
|
||||
double mT1;
|
||||
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|
||||
@@ -265,4 +278,9 @@ private:
|
||||
|
||||
};
|
||||
|
||||
inline bool operator != (const SelectedRegion &lhs, const SelectedRegion &rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user