mirror of
https://github.com/Relintai/draw_gd.git
synced 2025-02-01 07:17:03 +01:00
Rename root node again, but properly this time.
This commit is contained in:
parent
a5926c52ba
commit
70fb09ac87
@ -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")
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user