more fixes, will merge fixes for w4245 and w4389
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -258,7 +258,7 @@ void CTrackViewDopeSheetBase::SetTimeScale(float timeScale, float fAnchorTime)
|
||||
while (fPixelsPerTick >= 12.0 && steps < 100);
|
||||
|
||||
float fCurrentOffset = -fAnchorTime * m_timeScale;
|
||||
m_scrollOffset.rx() += fOldOffset - fCurrentOffset;
|
||||
m_scrollOffset.rx() += static_cast<int>(fOldOffset - fCurrentOffset);
|
||||
m_scrollBar->setValue(m_scrollOffset.x());
|
||||
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user