diff --git a/TODO b/TODO index 144729f..4f0fd23 100644 --- a/TODO +++ b/TODO @@ -31,7 +31,6 @@ Sync / inputs: -> remove points that serve no purpose * Support for overrides * Fix the various remaining issues - * Zooming issues on the right side * Add curve display Misc: diff --git a/ui-sequencer.cc b/ui-sequencer.cc index 14f1b86..7e8cd16 100644 --- a/ui-sequencer.cc +++ b/ui-sequencer.cc @@ -770,7 +770,7 @@ void T_SyncViewImpl_::computeMetrics( } const float unadjustedStartPixel{ totalPixels * startPos / units }; if ( unadjustedStartPixel + innerWidth > totalPixels ) { - startPos = std::max( 0.f , totalPixels - innerWidth ); + startPos = std::max( 0.f , units * ( totalPixels - innerWidth ) / totalPixels ); } startPixel = totalPixels * startPos / units; startBar = [=](){