mirror of
https://github.com/trebonian/visual6502.git
synced 2024-12-28 05:29:44 +00:00
shift-click: list members of channel-connected nodegroup
This commit is contained in:
parent
167f93f836
commit
09c578e361
@ -460,7 +460,7 @@ function handleClick(e){
|
|||||||
var cy = Math.round(y*grChipSize/600);
|
var cy = Math.round(y*grChipSize/600);
|
||||||
// prepare two lines of status report
|
// prepare two lines of status report
|
||||||
var s1='x: ' + cx + ' y: ' + cy;
|
var s1='x: ' + cx + ' y: ' + cy;
|
||||||
var s2='node: ' + w + ' ' + nodeName(w);
|
var s2='node: ' + w + ' ' + nodeName(w);
|
||||||
if(w==-1) {
|
if(w==-1) {
|
||||||
setStatus(s1); // no node found, so report only coordinates
|
setStatus(s1); // no node found, so report only coordinates
|
||||||
return;
|
return;
|
||||||
@ -483,7 +483,7 @@ function handleClick(e){
|
|||||||
if(e.shiftKey) {
|
if(e.shiftKey) {
|
||||||
getNodeGroup(w);
|
getNodeGroup(w);
|
||||||
nodelist = group;
|
nodelist = group;
|
||||||
s2 = "nodegroup from " + s2
|
s2 = "nodegroup from " + s2 + " (nodes: " + group.join(",") + ")";
|
||||||
}
|
}
|
||||||
hiliteNode(nodelist);
|
hiliteNode(nodelist);
|
||||||
setStatus(s1, s2);
|
setStatus(s1, s2);
|
||||||
|
Loading…
Reference in New Issue
Block a user