mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-09 16:21:03 +00:00
Recalculate scrollbar limits after switching textures. Closes #2470
This commit is contained in:
@@ -1338,6 +1338,7 @@ void TextureViewer::UI_OnTextureSelectionChanged(bool newAction)
|
||||
m_PrevSize = curSize;
|
||||
|
||||
// refresh scroll position
|
||||
UI_CalcScrollbars();
|
||||
setScrollPosition(getScrollPosition());
|
||||
|
||||
UI_UpdateStatusText();
|
||||
|
||||
Reference in New Issue
Block a user