Skip to content

Commit

Permalink
fix seed textbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-github committed Feb 29, 2024
1 parent 5ac47c4 commit c0cd8ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Game/Scenes/CreateWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ void CreateWorld::OnChar(unsigned int c)
{
if (name->selected)
name->AddText(c);

if (seed->selected)
seed->AddText(c);
}

void CreateWorld::KeyPress(int key)
Expand All @@ -123,5 +126,8 @@ void CreateWorld::KeyPress(int key)
{
if (name->selected)
name->RemoveText();

if (seed->selected)
seed->RemoveText();
}
}

0 comments on commit c0cd8ff

Please sign in to comment.