mirror of
https://github.com/trebonian/visual6502.git
synced 2025-04-02 06:31:52 +00:00
give the names of the nodes in a shift-click group, if they have names
This commit is contained in:
parent
09c578e361
commit
84b005673b
@ -480,10 +480,14 @@ function handleClick(e){
|
||||
}
|
||||
}
|
||||
// if this is a shift-click, just find and highlight the pass-connected group
|
||||
// and list the nodes (or nodenames, preferably)
|
||||
if(e.shiftKey) {
|
||||
getNodeGroup(w);
|
||||
nodelist = group;
|
||||
s2 = "nodegroup from " + s2 + " (nodes: " + group.join(",") + ")";
|
||||
s2 = "nodegroup from " + s2 +
|
||||
" (nodes: " +
|
||||
group.map(function(x){return nodeName(x)?nodeName(x):x;}).join(",") +
|
||||
")";
|
||||
}
|
||||
hiliteNode(nodelist);
|
||||
setStatus(s1, s2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user