mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:14:42 -04:00
Retain the zoom factor when adding a new frame
Also, when importing a PNG, the window title changes.
This commit is contained in:
parent
31a67fcbc2
commit
704dcf90c0
4 changed files with 104 additions and 99 deletions
|
@ -514,6 +514,9 @@ func _on_ImportSprites_files_selected(paths) -> void:
|
|||
|
||||
Global.undo_redo.clear_history(false)
|
||||
|
||||
var first_path : String = paths[0]
|
||||
OS.set_window_title(first_path.get_file() + " (imported) - Pixelorama")
|
||||
|
||||
func clear_canvases() -> void:
|
||||
for child in Global.vbox_layer_container.get_children():
|
||||
if child is PanelContainer:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue