Gather pixel history panels together instead of making new dock for each

This commit is contained in:
baldurk
2018-02-19 00:52:13 +00:00
parent cafa6901bb
commit 04034c334b
9 changed files with 31 additions and 27 deletions
+1 -1
View File
@@ -3480,7 +3480,7 @@ void TextureViewer::on_pixelHistory_clicked()
IPixelHistoryView *hist = m_Ctx.ViewPixelHistory(texptr->resourceId, x, y, m_TexDisplay);
m_Ctx.AddDockWindow(hist->Widget(), DockReference::RightOf, this, 0.3f);
m_Ctx.AddDockWindow(hist->Widget(), DockReference::TransientPopupArea, this, 0.3f);
// we use this pointer to ensure that the history viewer is still visible (and hasn't been closed)
// by the time we want to set the results.