[Fixed Upstream Bug]: While the schematic editor is in intuitive-interface mode, drawing a wire would immediately terminate the endpoint of it when the LMB button is released (i.e. user click drew a point - when persistent_command was disabled). This behavior is now corrected, but a non-essential feature introduced in the last set of upstream commits had to be broken (end wire creation when dragging in intuitive interface mode). The broken feature will be fixed in a future commit.

This commit is contained in:
Chayan Deb 2025-01-20 14:12:33 +05:30
parent a1a598cf21
commit ed1a471f5d
1 changed files with 3 additions and 3 deletions

View File

@ -4207,9 +4207,9 @@ int rstate; /* (reduced state, without ShiftMask) */
}
/* end wire creation when dragging in intuitive interface from an inst pin ow wire endpoint */
else if(xctx->intuitive_interface && (xctx->ui_state & STARTWIRE)) {
if(end_place_move_copy_zoom()) break;
}
/*else if(xctx->intuitive_interface && (xctx->ui_state & STARTWIRE)) {*/
/* if(end_place_move_copy_zoom()) break;*/
/*}*/
/* end intuitive_interface copy or move */
if(xctx->ui_state & STARTCOPY && xctx->drag_elements) {