[Feature enhancement]: Pressing the 'w'-key now sets the schematic editor to wire-drawing mode, instead of immediately placing down the wire. Press LMB in this state to start drawing the wire.
This commit is contained in:
parent
041d90548d
commit
96c3dde250
|
|
@ -2577,10 +2577,12 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||
{
|
||||
int prev_state = xctx->ui_state;
|
||||
if(xctx->semaphore >= 2) break;
|
||||
start_wire(xctx->mousex_snap, xctx->mousey_snap);
|
||||
if(prev_state == STARTWIRE) {
|
||||
start_wire(xctx->mousex_snap, xctx->mousey_snap);
|
||||
tcleval("set constr_mv 0" );
|
||||
xctx->constr_mv=0;
|
||||
} else{
|
||||
tcleval("xschem wire");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue