fixing text not being properly displayed on cards
This commit is contained in:
parent
17516068df
commit
7891dc25e9
|
|
@ -26,6 +26,8 @@ class_name Collectable_Ui
|
||||||
is_story = story
|
is_story = story
|
||||||
if not story:
|
if not story:
|
||||||
$Panel/Content/Buttons/VBoxContainer/collect_or_listen.text = "Order Thoughts"
|
$Panel/Content/Buttons/VBoxContainer/collect_or_listen.text = "Order Thoughts"
|
||||||
|
else:
|
||||||
|
$Panel/Content/Buttons/VBoxContainer/collect_or_listen.text = "Collect Memento"
|
||||||
@export var has_stage: bool = false:
|
@export var has_stage: bool = false:
|
||||||
set(focused):
|
set(focused):
|
||||||
print("set focus of card to ", focused)
|
print("set focus of card to ", focused)
|
||||||
|
|
@ -82,9 +84,9 @@ func _ready():
|
||||||
#$Panel/Content/Buttons/VBoxContainer/skip.visible = State.allow_skipping
|
#$Panel/Content/Buttons/VBoxContainer/skip.visible = State.allow_skipping
|
||||||
if visible and not collapsed: _show_buttons()
|
if visible and not collapsed: _show_buttons()
|
||||||
|
|
||||||
item_name = item_name
|
|
||||||
content_notes = content_notes
|
content_notes = content_notes
|
||||||
is_story = is_story
|
is_story = is_story
|
||||||
|
item_name = item_name
|
||||||
|
|
||||||
func _hide_buttons():
|
func _hide_buttons():
|
||||||
if is_inside_tree():
|
if is_inside_tree():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue