mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Silence already connected signal errors in the tile mode offsets dialog
This commit is contained in:
parent
c4beee6f41
commit
6e360505e3
|
@ -18,10 +18,12 @@ func _ready() -> void:
|
||||||
|
|
||||||
|
|
||||||
func _project_about_to_switch() -> void:
|
func _project_about_to_switch() -> void:
|
||||||
|
if Global.current_project.resized.is_connected(change_mask):
|
||||||
Global.current_project.resized.disconnect(change_mask)
|
Global.current_project.resized.disconnect(change_mask)
|
||||||
|
|
||||||
|
|
||||||
func _project_switched() -> void:
|
func _project_switched() -> void:
|
||||||
|
if not Global.current_project.resized.is_connected(change_mask):
|
||||||
Global.current_project.resized.connect(change_mask)
|
Global.current_project.resized.connect(change_mask)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue