intuitive_interface fix bug (did unselect all when clicking on a new instance)
This commit is contained in:
parent
99e2c9e503
commit
733d5a9bb1
|
|
@ -3400,8 +3400,8 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||
xctx->mx_double_save=xctx->mousex_snap;
|
||||
xctx->my_double_save=xctx->mousey_snap;
|
||||
|
||||
if(!(state & (ShiftMask | ControlMask) ) ) unselect_all(1);
|
||||
sel = select_object(xctx->mousex, xctx->mousey, SELECTED, 0);
|
||||
if(!sel.type && !(state & (ShiftMask | ControlMask) ) ) unselect_all(1);
|
||||
rebuild_selected_array();
|
||||
|
||||
if(xctx->lastsel == 1 && xctx->sel_array[0].type==POLYGON)
|
||||
|
|
|
|||
|
|
@ -1812,7 +1812,7 @@ void drawtemppolygon(GC gc, int what, double *x, double *y, int points, int flag
|
|||
sy2=Y_TO_SCREEN(y2);
|
||||
if( rectclip(xctx->areax1,xctx->areay1,xctx->areax2,xctx->areay2,&sx1,&sy1,&sx2,&sy2) ) {
|
||||
|
||||
bezier = (flags & 1) && (points > 2);
|
||||
bezier = (flags & 1) && (points > 2);
|
||||
drawpoints = (flags & 2);
|
||||
if((fix_broken_tiled_fill || !_unix) && gc == xctx->gctiled) {
|
||||
MyXCopyAreaDouble(display, xctx->save_pixmap, xctx->window, xctx->gc[0],
|
||||
|
|
|
|||
Loading…
Reference in New Issue