bugfix: pan to existing definitions
This commit is contained in:
parent
43b160838e
commit
16be0916ae
|
@ -13,7 +13,10 @@ load_definition = function(name)
|
|||
width=600,
|
||||
bg=definition_background_color(name),
|
||||
}
|
||||
else
|
||||
Viewport.x = Definitions[name].x-30
|
||||
Viewport.y = Definitions[name].y-30
|
||||
end
|
||||
Cursor_node = Definitions[name]
|
||||
Cursor_node.show_cursor = true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue