Files
imnotsick/Scenes/screening_desk/bookmarks.gd
T
2026-03-11 23:17:25 +01:00

19 lines
559 B
GDScript

extends MarginContainer
@onready var rules = $HBoxContainer/HBoxContainer/Rules/Bookmark
@onready var symptoms = $HBoxContainer/HBoxContainer/Symptoms/Bookmark
@onready var entities = $HBoxContainer/HBoxContainer/Entities/Bookmark
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
reset()
#Resets to initial state
func reset():
for tab in [symptoms, entities]:
tab.set_pressed(false)
tab.set_mouse_filter(Control.MOUSE_FILTER_STOP)
rules.set_pressed(true)
rules.set_mouse_filter(Control.MOUSE_FILTER_IGNORE)