mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-19 06:31:26 +02:00
Focus text field for Sign Tool Window, fixes #98
This commit is contained in:
@@ -136,6 +136,7 @@ SignWindow::SignWindow(SignTool * tool_, Simulation * sim_, int signID_, ui::Poi
|
||||
textField->Appearance.VerticalAlign = ui::Appearance::AlignMiddle;
|
||||
textField->SetActionCallback(new SignTextAction(this));
|
||||
AddComponent(textField);
|
||||
FocusComponent(textField);
|
||||
|
||||
if(signID!=-1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user