Fix: Make dropdowns self-close when losing focus.

This commit is contained in:
2023-06-03 13:19:59 +01:00
committed by PeterN
parent a5a3a07005
commit dec7ff6b0c
2 changed files with 5 additions and 2 deletions

View File

@@ -2331,7 +2331,6 @@ static void StartWindowDrag(Window *w)
_drag_delta.y = w->top - _cursor.pos.y;
BringWindowToFront(w);
CloseWindowById(WC_DROPDOWN_MENU, 0);
}
/**
@@ -2349,7 +2348,6 @@ static void StartWindowSizing(Window *w, bool to_left)
_drag_delta.y = _cursor.pos.y;
BringWindowToFront(w);
CloseWindowById(WC_DROPDOWN_MENU, 0);
}
/**