Exclude missing on-demand frames from on-load zoom.

This commit is contained in:
Bartosz Taudul
2023-03-03 21:46:48 +01:00
parent c91b052c80
commit 1f94ab32df

View File

@@ -90,7 +90,7 @@ View::View( void(*cbMainThread)(std::function<void()>, bool), FileRead& f, ImFon
InitMemory();
InitTextEditor( fixedWidth );
m_vd.zvStart = 0;
m_vd.zvStart = m_worker.GetFirstTime();
m_vd.zvEnd = m_worker.GetLastTime();
m_userData.StateShouldBePreserved();
m_userData.LoadState( m_vd );