fix erroneous slotted instance recognition (confuse U2[3:0] with U3:2) in translate(), breaking in some cases the "net name on instance pin" feature
This commit is contained in:
parent
40d05a2c60
commit
5b72e307df
|
|
@ -139,7 +139,7 @@ int callback(int event, int mx, int my, KeySym key,
|
||||||
mousey=Y_TO_XSCHEM(my);
|
mousey=Y_TO_XSCHEM(my);
|
||||||
mousex_snap=ROUND(mousex / cadsnap) * cadsnap;
|
mousex_snap=ROUND(mousex / cadsnap) * cadsnap;
|
||||||
mousey_snap=ROUND(mousey / cadsnap) * cadsnap;
|
mousey_snap=ROUND(mousey / cadsnap) * cadsnap;
|
||||||
my_snprintf(str, S(str), "mouse = %.16g %.16g - selected: %d path: %s",
|
if(lastselected > 1) my_snprintf(str, S(str), "mouse = %.16g %.16g - selected: %d path: %s",
|
||||||
mousex_snap, mousey_snap, lastselected, sch_path[currentsch] );
|
mousex_snap, mousey_snap, lastselected, sch_path[currentsch] );
|
||||||
statusmsg(str,1);
|
statusmsg(str,1);
|
||||||
switch(event)
|
switch(event)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue