only navigate through same-level spaces in space graph view
This commit is contained in:
parent
4bcc7889f4
commit
89547d15b6
1 changed files with 2 additions and 1 deletions
|
@ -486,7 +486,8 @@ editor = {
|
|||
node_layer.on('mouseover', editor._hover_graph_item)
|
||||
.on('mouseout', editor._unhover_graph_item)
|
||||
.on('click', editor._click_graph_node);
|
||||
} else if (feature.properties.type === 'space' && editor._graph_editing !== null) {
|
||||
} else if (feature.properties.type === 'space' && editor._graph_editing !== null &&
|
||||
editor._sublevel_control.level_ids.indexOf(feature.properties.level) >= 0) {
|
||||
var other_space_layer = L.geoJSON(layer.feature, {
|
||||
style: function() {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue