mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-10 14:05:32 +02:00
Enable drag to rearrange tabs
This commit is contained in:
parent
8b3c207b0c
commit
658197f44c
2 changed files with 11 additions and 4 deletions
|
@ -171,3 +171,8 @@ func _on_TerminalPopupMenu_id_pressed(id):
|
|||
terminal.clear()
|
||||
TerminalPopupMenuOptions.KILL_TERMINAL:
|
||||
_on_Tabs_tab_close(tabs.current_tab)
|
||||
|
||||
|
||||
func _on_Tabs_reposition_active_tab_request(idx_to):
|
||||
var active = tab_container.get_child(tab_container.current_tab)
|
||||
tab_container.move_child(active, idx_to)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue