mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-04 13:40:58 +01:00
Correct the one-pixel wobble in scroll-scrubbing play indicator...
... that is, the green line, though the triangle in the ruler still jumps sometimes.
This commit is contained in:
@@ -62,9 +62,9 @@ public:
|
||||
, bool ignoreFisheye = false
|
||||
) const;
|
||||
|
||||
double OffsetTimeByPixels(double time, wxInt64 offset) const
|
||||
double OffsetTimeByPixels(double time, wxInt64 offset, bool ignoreFisheye = false) const
|
||||
{
|
||||
return PositionToTime(offset + TimeToPosition(time));
|
||||
return PositionToTime(offset + TimeToPosition(time, ignoreFisheye), ignoreFisheye);
|
||||
}
|
||||
|
||||
bool ZoomInAvailable() const;
|
||||
|
||||
Reference in New Issue
Block a user