forked from bartvdbraak/blender
Bugfix irc report:
With draw method "Overlap", the preview line for menu "Split area" was not correctly visible.
This commit is contained in:
parent
476eadbcb1
commit
695f35387b
@ -1418,7 +1418,10 @@ static int area_split_modal(bContext *C, wmOperator *op, wmEvent *event)
|
|||||||
sd->origmin= sd->sarea->totrct.ymin;
|
sd->origmin= sd->sarea->totrct.ymin;
|
||||||
sd->sarea->flag |= AREA_FLAG_DRAWSPLIT_H;
|
sd->sarea->flag |= AREA_FLAG_DRAWSPLIT_H;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CTX_wm_window(C)->screen->do_draw= 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fac= (dir == 'v') ? event->x-sd->origmin : event->y-sd->origmin;
|
fac= (dir == 'v') ? event->x-sd->origmin : event->y-sd->origmin;
|
||||||
|
Loading…
Reference in New Issue
Block a user