Bookmarks WIP 2
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user