gui update: put newly appearing windows on top

This commit is contained in:
turanszkij
2020-04-11 19:17:15 +01:00
parent 1c923ae22e
commit 2ba847cf58
5 changed files with 20 additions and 4 deletions
+1
View File
@@ -367,6 +367,7 @@ MaterialWindow::MaterialWindow(EditorComponent* editor) : GUI(&editor->GetGUI())
y = 0;
materialNameField = new wiTextInputField("MaterialName");
materialNameField->SetTooltip("Set a name for the material...");
materialNameField->SetPos(XMFLOAT2(10, y += step));
materialNameField->SetSize(XMFLOAT2(300, 25));
materialNameField->OnInputAccepted([&](wiEventArgs args) {