GUI scrollbar updates (#447)

This commit is contained in:
Turánszki János
2022-05-19 22:42:49 +02:00
committed by GitHub
parent 782c326652
commit f7d28b1127
28 changed files with 508 additions and 172 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ void NameWindow::Create(EditorComponent* editor)
nameInput.Create("");
nameInput.SetDescription("Name: ");
nameInput.SetPos(XMFLOAT2(x, y += step));
nameInput.SetPos(XMFLOAT2(x, y));
nameInput.SetSize(XMFLOAT2(siz, hei));
nameInput.OnInputAccepted([=](wi::gui::EventArgs args) {
NameComponent* name = wi::scene::GetScene().names.GetComponent(entity);