1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

When moving tabs, the projects now move along with their respective tabs

This commit is contained in:
OverloadedOrama 2020-09-28 00:56:58 +03:00
parent 21d4e177eb
commit 4f1c19563b
2 changed files with 8 additions and 2 deletions

View file

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). All the dates are in YYYY-MM-DD format.
<br><br>
## [v0.8.1] - Unreleased
### Fixed
- Crash where Pixelorama could not load a cached sub-resource - [Issue #339](https://github.com/Orama-Interactive/Pixelorama/issues/339)
- When moving tabs, the projects now move along with their respective tabs.
<br><br>
## [v0.8] - 2020-09-23
This update has been brought to you by the contributions of:
Darshan Phaldesai (luiq54), Igor Santarek (jegor377), rob-a-bolton, Kinwailo, Michael Alexsander (YeldhamDev), Hugo Locurcio (Calinou), Martin Novák (novhack), Xenofon Konitsas (huskeee), Matthew Paul (matthewpaul-us)

View file

@ -20,8 +20,8 @@ func _on_Tabs_tab_close(tab : int) -> void:
func _on_Tabs_reposition_active_tab_request(idx_to : int) -> void:
var temp = Global.projects[Global.current_project_index]
Global.projects[Global.current_project_index] = Global.projects[idx_to]
Global.projects[idx_to] = temp
Global.projects.erase(temp)
Global.projects.insert(idx_to, temp)
# Change save paths
var temp_save_path = OpenSave.current_save_paths[Global.current_project_index]