mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Fix project's selection bitmap having incorrect size when importing a pxo
This commit is contained in:
parent
e088820c74
commit
3482314971
|
@ -317,6 +317,7 @@ func deserialize(dict : Dictionary) -> void:
|
||||||
size.x = dict.size_x
|
size.x = dict.size_x
|
||||||
size.y = dict.size_y
|
size.y = dict.size_y
|
||||||
update_tile_mode_rects()
|
update_tile_mode_rects()
|
||||||
|
selection_bitmap = resize_bitmap(selection_bitmap, size)
|
||||||
if dict.has("save_path"):
|
if dict.has("save_path"):
|
||||||
OpenSave.current_save_paths[Global.projects.find(self)] = dict.save_path
|
OpenSave.current_save_paths[Global.projects.find(self)] = dict.save_path
|
||||||
if dict.has("frames"):
|
if dict.has("frames"):
|
||||||
|
|
Loading…
Reference in a new issue