[Changed behavior of a workflow action]: While the 'persistent-wire-draw' checkbox is ticked in the 'Options'-menu, pressing 'Esc' will immediately eject the user from wire-drawing-mode and end any multi-segment wire being drawn. Double click behavior remains the same as before.
This commit is contained in:
parent
052d7e8793
commit
b1e4d14a80
|
|
@ -2635,6 +2635,9 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||
}
|
||||
/* stuff that can be done reentrantly ... */
|
||||
tclsetvar("tclstop", "1"); /* stop simulation if any running */
|
||||
if(tclgetboolvar("persistent_command") && (xctx->last_command & STARTWIRE)) {
|
||||
xctx->last_command &= ~STARTWIRE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if(key=='z' && rstate == 0) /* zoom box */
|
||||
|
|
|
|||
Loading…
Reference in New Issue