fix styling active graph node with existing id
This commit is contained in:
parent
11cff8ff7f
commit
ceaaeb2087
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ editor = {
|
|||
style.fillOpacity = 0.5;
|
||||
}
|
||||
}
|
||||
if (feature.properties.type === 'graphnode' && feature.properties.id === editor._active_graph_node) {
|
||||
if (feature.properties.type === 'graphnode' && String(feature.properties.id) === editor._active_graph_node) {
|
||||
style.stroke = true;
|
||||
style.weight = 3;
|
||||
style.color = '#ffff00';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue