[After merge-changes]: Re-introduced temporary bugfix and altered snap-cursor keybind to match pre-merge state of this fork.

This commit is contained in:
Chayan Deb 2025-01-23 19:46:16 +05:30
parent a36150541d
commit ffcbeaec66
1 changed files with 5 additions and 5 deletions

View File

@ -2864,7 +2864,7 @@ int rstate; /* (reduced state, without ShiftMask) */
hilight_net_pin_mismatches(); hilight_net_pin_mismatches();
break; break;
} }
if(key== 'W' /* && !xctx->ui_state */ && rstate == 0) { /* create wire snapping to closest instance pin */ if(key== 's' /* && !xctx->ui_state */ && rstate == 0) { /* create wire snapping to closest instance pin */
if(xctx->semaphore >= 2) break; if(xctx->semaphore >= 2) break;
if(infix_interface) { if(infix_interface) {
snapped_wire(c_snap); snapped_wire(c_snap);
@ -4352,10 +4352,10 @@ int rstate; /* (reduced state, without ShiftMask) */
} }
/* end wire creation when dragging in intuitive interface from an inst pin or wire endpoint */ /* end wire creation when dragging in intuitive interface from an inst pin or wire endpoint */
else if(state == Button1Mask && xctx->intuitive_interface && /*else if(state == Button1Mask && xctx->intuitive_interface &&*/
(xctx->ui_state & STARTWIRE) && !(xctx->ui_state & MENUSTART)) { /* (xctx->ui_state & STARTWIRE) && !(xctx->ui_state & MENUSTART)) {*/
if(end_place_move_copy_zoom()) break; /* if(end_place_move_copy_zoom()) break;*/
} /*}*/
/* end intuitive_interface copy or move */ /* end intuitive_interface copy or move */
if(xctx->ui_state & STARTCOPY && xctx->drag_elements) { if(xctx->ui_state & STARTCOPY && xctx->drag_elements) {