aboutsummaryrefslogtreecommitdiff
path: root/game/src/OptionMenu/GeneralTab.gd
blob: 8aed7833031d5efb3db7a32dcc7643e55524a72f (plain) (blame)
1
2
3
4
5
6
7
8
extends HBoxContainer

@export var initial_focus: Button

func _notification(what : int) -> void:
   match(what):
      NOTIFICATION_VISIBILITY_CHANGED:
         if visible: initial_focus.grab_focus()