mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Hide *all* remaining thumbnails after setting the visible ones up
This commit is contained in:
@@ -1406,7 +1406,7 @@ namespace renderdocui.Windows
|
||||
}
|
||||
|
||||
// hide others
|
||||
for (; rwIndex < rwPanel.Thumbnails.Length - 1; rwIndex++)
|
||||
for (; rwIndex < rwPanel.Thumbnails.Length; rwIndex++)
|
||||
{
|
||||
rwPanel.Thumbnails[rwIndex].Init();
|
||||
rwPanel.Thumbnails[rwIndex].Visible = false;
|
||||
@@ -1414,7 +1414,7 @@ namespace renderdocui.Windows
|
||||
|
||||
rwPanel.RefreshLayout();
|
||||
|
||||
for (; roIndex < roPanel.Thumbnails.Length - 1; roIndex++)
|
||||
for (; roIndex < roPanel.Thumbnails.Length; roIndex++)
|
||||
{
|
||||
roPanel.Thumbnails[roIndex].Init();
|
||||
roPanel.Thumbnails[roIndex].Visible = false;
|
||||
|
||||
Reference in New Issue
Block a user