commit 22f4d526d5dde1d699e99fbf8203c934b88c6e68
parent 78c2d44a9322f5598a23adb3917de6116c072935
Author: cfillion <cfillion@users.noreply.github.com>
Date: Fri, 1 Jan 2016 16:00:16 -0500
align the top left corner of the context menus to the mouse cursor
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/menu.cpp b/src/menu.cpp
@@ -81,7 +81,7 @@ void Menu::append(MENUITEMINFO &mii)
void Menu::show(const int x, const int y, HWND parent) const
{
- TrackPopupMenu(m_handle, TPM_BOTTOMALIGN | TPM_LEFTALIGN,
+ TrackPopupMenu(m_handle, TPM_TOPALIGN | TPM_LEFTALIGN,
x, y, 0, parent, nullptr);
}