Rename root node again, but properly this time.

This commit is contained in:
Relintai 2020-11-29 15:17:11 +01:00
parent a5926c52ba
commit 70fb09ac87
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ func _ready() -> void:
Input.set_custom_mouse_cursor(DrawGD.cursor_image, Input.CURSOR_CROSS, Vector2(15, 15))
var root = get_tree().get_root()
control = find_node_by_name(root, "Control")
control = find_node_by_name(root, "DrawGDControl")
top_menu_container = find_node_by_name(control, "TopMenuContainer")
left_cursor = find_node_by_name(root, "LeftCursor")
right_cursor = find_node_by_name(root, "RightCursor")

View File

@ -13,7 +13,7 @@
[ext_resource path="res://src/Preferences/PreferencesDialog.tscn" type="PackedScene" id=32]
[ext_resource path="res://src/UI/Dialogs/ExportDialog.tscn" type="PackedScene" id=39]
[node name="DrawGD" type="Control"]
[node name="DrawGDControl" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )