obsolete comments scrub

This commit is contained in:
Stefan Frederik 2022-01-13 17:24:04 +01:00
parent acae16d106
commit 622fb168c1
1 changed files with 2 additions and 2 deletions

View File

@ -2491,13 +2491,13 @@ int callback(const char *winpath, int event, int mx, int my, KeySym key,
sel = select_object(xctx->mousex, xctx->mousey, SELECTED, 0);
rebuild_selected_array();
#ifndef __unix__
draw_selection(xctx->gc[SELLAYER], 0); /* 20181009 moved outside of cadlayers loop */
draw_selection(xctx->gc[SELLAYER], 0);
#endif
if(sel && state == ControlMask) {
launcher();
}
if( !(state & ShiftMask) ) {
if(tclgetboolvar("auto_hilight") && xctx->hilight_nets && sel == 0 ) { /* 20160413 20160503 */
if(tclgetboolvar("auto_hilight") && xctx->hilight_nets && sel == 0 ) {
if(!prev_last_sel) {
redraw_hilights(1); /* 1: clear all hilights, then draw */
}