We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53d5a4a commit 2ece94fCopy full SHA for 2ece94f
addons/block_code/ui/block_canvas/block_canvas.gd
@@ -100,8 +100,9 @@ func bsd_selected(bsd: BlockScriptData):
100
101
var edited_node = EditorInterface.get_inspector().get_edited_object() as Node
102
103
- _window.position = Vector2(0, 0)
104
- zoom = 1
+ if bsd != _current_bsd:
+ _window.position = Vector2(0, 0)
105
+ zoom = 1
106
107
_window.visible = false
108
_zoom_label.visible = false
0 commit comments