13
0

the horizontal position *is* the value of the horizontal adjustment.

Don't waste time getting a less accurate answer from sample_to_pixel() on
_leftmost_sample.
This commit is contained in:
Paul Davis 2024-06-06 16:07:24 -06:00
parent 060d8c82d7
commit a9163516d8

View File

@ -2000,7 +2000,7 @@ EditingContext::pop_editing_context ()
double
EditingContext::horizontal_position () const
{
return sample_to_pixel (_leftmost_sample);
return horizontal_adjustment.get_value();
}
void