UI: remove tip when dragging a popup

This commit is contained in:
Campbell Barton 2014-08-06 00:40:41 +10:00
parent e123434397
commit 371fb516cc
1 changed files with 4 additions and 0 deletions

View File

@ -8304,6 +8304,10 @@ static int ui_handle_menu_event(
(inside && is_floating && inside_title))
{
if (!but || !ui_mouse_inside_button(ar, but, event->x, event->y)) {
if (but) {
button_timers_tooltip_remove(C, but);
}
menu->is_grab = true;
copy_v2_v2_int(menu->grab_xy_prev, &event->x);
retval = WM_UI_HANDLER_BREAK;