We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d830d commit 051e3f7Copy full SHA for 051e3f7
1 file changed
Scenes/EventScene/EventScene.cs
@@ -48,14 +48,12 @@ public override void _Ready()
48
49
public override void _Process(double delta)
50
{
51
- if (GetViewport().GuiGetFocusOwner() == null && _buttonContainer != null)
+ if (GetViewport().GuiGetFocusOwner() == null)
52
53
- _buttonContainer.GetChild<Control>(0).GrabFocus();
54
- }
55
-
56
- if (_eventDescription.Text == "")
57
- {
58
- _eventDescription.Text = _eventReference.OutcomeDescriptions[_updateOutputIndex];
+ if (_continueContainer.Visible)
+ _continueButton.GrabFocus();
+ else
+ _buttonContainer.GetChild<Control>(0).GrabFocus();
59
}
60
61
0 commit comments