mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-19 16:27:22 +01:00
Remove used code
This commit is contained in:
parent
2b33048819
commit
779142601c
@ -10,7 +10,6 @@ func _ready():
|
||||
if i.get_extension() == "tscn":
|
||||
var new_scene = load(i).instance()
|
||||
add_child(new_scene)
|
||||
#new_scene.set_anchors_preset(PRESET_CENTER)
|
||||
|
||||
func show_dialog(dialog_name):
|
||||
var dialog_node = get_node_or_null(dialog_name)
|
||||
|
@ -114,7 +114,6 @@ func generate_property_container(category, node, propertyname, valuemod):
|
||||
label.align = Label.ALIGN_CENTER
|
||||
label.valign = Label.ALIGN_CENTER
|
||||
var settertypenode
|
||||
print(node, valuemod)
|
||||
var get_value = node.get(valuemod)
|
||||
match typeof(get_value):
|
||||
TYPE_INT:
|
||||
|
@ -56,7 +56,6 @@ func button_pressed(button_name, button_item):
|
||||
elif button_name == "Editor":
|
||||
if button_item == "Settings":
|
||||
dialogs.show_dialog("Settings")
|
||||
#get_parent().get_node("Settings").show()
|
||||
elif button_item == "Toggle Grid":
|
||||
var grids_node = get_parent().get_node("PaintCanvasContainer/ViewportContainer/Viewport/PaintCanvas/Grids")
|
||||
grids_node.visible = !grids_node.visible
|
||||
|
Loading…
Reference in New Issue
Block a user