Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Initial update, some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Oberaigner committed Apr 23, 2024
1 parent 244cea7 commit aebb970
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 102 deletions.
2 changes: 1 addition & 1 deletion godot/src/project_selector/project_selector.gd
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func _on_project_name_line_edit_text_changed(new_text):


func _on_new_project_button_pressed(_id: int):
get_tree().change_scene_to_file("res://src/sprite_selector/add_sprite.tscn")
get_tree().change_scene_to_file("res://src/sprite_selector/main.tscn")


func _on_your_projects_menu_button_pressed():
Expand Down
19 changes: 0 additions & 19 deletions godot/src/sprite_selector/add_sprite.gd

This file was deleted.

82 changes: 0 additions & 82 deletions godot/src/sprite_selector/add_sprite.tscn

This file was deleted.

4 changes: 4 additions & 0 deletions godot/src/sprite_selector/sprite.gd
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ func get_preview_controll():
func _drop_data(_at_position, data):
var node = get_parent().get_node(data.get_path())
get_parent().move_child(node, target)


func _on_pressed():
get_tree().change_scene_to_file("res://src/script_editor/main.tscn")

0 comments on commit aebb970

Please sign in to comment.