Sequencer - Fixed issues with the right side
This commit is contained in:
parent
b9cb427ae4
commit
ec34bcc9bb
2 changed files with 1 additions and 2 deletions
1
TODO
1
TODO
|
@ -31,7 +31,6 @@ Sync / inputs:
|
||||||
-> remove points that serve no purpose
|
-> remove points that serve no purpose
|
||||||
* Support for overrides
|
* Support for overrides
|
||||||
* Fix the various remaining issues
|
* Fix the various remaining issues
|
||||||
* Zooming issues on the right side
|
|
||||||
* Add curve display
|
* Add curve display
|
||||||
|
|
||||||
Misc:
|
Misc:
|
||||||
|
|
|
@ -770,7 +770,7 @@ void T_SyncViewImpl_::computeMetrics(
|
||||||
}
|
}
|
||||||
const float unadjustedStartPixel{ totalPixels * startPos / units };
|
const float unadjustedStartPixel{ totalPixels * startPos / units };
|
||||||
if ( unadjustedStartPixel + innerWidth > totalPixels ) {
|
if ( unadjustedStartPixel + innerWidth > totalPixels ) {
|
||||||
startPos = std::max( 0.f , totalPixels - innerWidth );
|
startPos = std::max( 0.f , units * ( totalPixels - innerWidth ) / totalPixels );
|
||||||
}
|
}
|
||||||
startPixel = totalPixels * startPos / units;
|
startPixel = totalPixels * startPos / units;
|
||||||
startBar = [=](){
|
startBar = [=](){
|
||||||
|
|
Loading…
Reference in a new issue