Bookmarks WIP 2

This commit is contained in:
2026-03-11 23:17:25 +01:00
parent 99268f3c2a
commit 08a5d3ec39
6 changed files with 185 additions and 45 deletions
+18
View File
@@ -0,0 +1,18 @@
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)