UIL: Dragging popups wasn't updating safe-areas

This commit is contained in:
2014-05-02 09:23:53 +10:00
parent 9f16428cb5
commit f61e885706
3 changed files with 27 additions and 6 deletions

View File

@@ -7736,11 +7736,7 @@ static int ui_handle_menu_event(
sub_v2_v2v2_int(mdiff, &event->x, menu->grab_xy_prev);
copy_v2_v2_int(menu->grab_xy_prev, &event->x);
BLI_rcti_translate(&ar->winrct, UNPACK2(mdiff));
ED_region_update_rect(C, ar);
ED_region_tag_redraw(ar);
ui_popup_translate(C, ar, mdiff);
}
return retval;