2023-04-15 14:07:01 +00:00
|
|
|
extends Panel
|
|
|
|
|
|
|
|
|
|
@onready var has_focus = true:
|
|
|
|
|
set(focus):
|
|
|
|
|
if focus:
|
|
|
|
|
has_focus = State.request_focus(self)
|
|
|
|
|
else:
|
|
|
|
|
has_focus = false
|
|
|
|
|
State.drop_own_focus(self)
|
2023-06-05 09:39:30 +00:00
|
|
|
|
|
|
|
|
func yeet():
|
|
|
|
|
get_parent().remove_child(self)
|