dont set opacity on graphnodes of other spaces

This commit is contained in:
Laura Klünder 2017-07-26 15:47:52 +02:00
parent b54c771608
commit 782274f9ce

View file

@ -402,7 +402,7 @@ editor = {
style.color = '#ffffff';
}
} else {
if (editor._sublevel_control.current_level_id !== feature.properties.level) {
if (feature.properties.level !== undefined && editor._sublevel_control.current_level_id !== feature.properties.level) {
style.fillOpacity = 0.5;
}
}