mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-27 13:42:16 -05:00
Cancel boxmenu if not clicking tab
contextmenu is set causing it to open for anywhere in the box area that's white only show if right clicking the tab at the top
This commit is contained in:
parent
cb0ae14a50
commit
39ce7e56e4
|
|
@ -93,6 +93,7 @@ public SAVEditor()
|
|||
GB_Daycare.Click += SwitchDaycare;
|
||||
FLP_SAVtools.Scroll += WinFormsUtil.PanelScroll;
|
||||
Tab_Box.ContextMenuStrip = SortMenu = new BoxMenuStrip(this);
|
||||
SortMenu.Opening += (s, x) => x.Cancel = !tabBoxMulti.GetTabRect(tabBoxMulti.SelectedIndex).Contains(PointToClient(MousePosition));
|
||||
|
||||
M.OtherSlots.Add(this);
|
||||
SL_Extra.ViewIndex = -2;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user