mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-05-05 16:14:50 -04:00
Reposition tabs is now functional
That was easier than I expected
This commit is contained in:
parent
b276999b12
commit
d37b07db5d
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ func _on_Tabs_tab_close(tab : int) -> void:
|
||||||
|
|
||||||
|
|
||||||
func _on_Tabs_reposition_active_tab_request(idx_to : int) -> void:
|
func _on_Tabs_reposition_active_tab_request(idx_to : int) -> void:
|
||||||
pass
|
var temp = Global.projects[Global.current_project_index]
|
||||||
|
Global.projects[Global.current_project_index] = Global.projects[idx_to]
|
||||||
|
Global.projects[idx_to] = temp
|
||||||
|
|
||||||
|
|
||||||
func delete_tab(tab : int) -> void:
|
func delete_tab(tab : int) -> void:
|
||||||
|
|
Loading…
Add table
Reference in a new issue