aboutsummaryrefslogtreecommitdiff
path: root/option_set
diff options
context:
space:
mode:
Diffstat (limited to 'option_set')
-rw-r--r--option_set/option_set.gd2
-rw-r--r--option_set/option_set.tscn2
2 files changed, 2 insertions, 2 deletions
diff --git a/option_set/option_set.gd b/option_set/option_set.gd
index bb37736..25ca0ff 100644
--- a/option_set/option_set.gd
+++ b/option_set/option_set.gd
@@ -14,7 +14,7 @@ func get_text() -> String:
var selected_idx: int
onready var input := get_node("input") as LineEdit
-onready var button := get_node("options") as Button # @DAM Maybe rename this. Also requires renaming on stage.
+onready var button := get_node("button") as Button
onready var popup := get_node("/root/main/popup") as ModalPopup
onready var options := get_node("/root/main/option_set_list") as OptionSetList
diff --git a/option_set/option_set.tscn b/option_set/option_set.tscn
index 3d09674..26a042d 100644
--- a/option_set/option_set.tscn
+++ b/option_set/option_set.tscn
@@ -21,7 +21,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
-[node name="options" type="Button" parent="."]
+[node name="button" type="Button" parent="."]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0