mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-26 07:24:43 -04:00
Added basic UI for tabs
This commit is contained in:
parent
2e69e1a8c2
commit
709a6d470e
4 changed files with 70 additions and 38 deletions
14
src/UI/Tabs.gd
Normal file
14
src/UI/Tabs.gd
Normal file
|
@ -0,0 +1,14 @@
|
|||
extends Tabs
|
||||
|
||||
|
||||
func _on_Tabs_tab_changed(tab : int):
|
||||
Global.current_project_index = tab
|
||||
|
||||
|
||||
func _on_Tabs_tab_close(tab : int):
|
||||
if Global.projects.size() == 1:
|
||||
return
|
||||
|
||||
|
||||
func _on_Tabs_reposition_active_tab_request(idx_to : int):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue