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:
parent
060d8c82d7
commit
a9163516d8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user