Reference underlying control visibility

closes #2092
This commit is contained in:
Kurt 2018-08-14 19:39:14 -07:00
parent f079f62956
commit af87752475
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ namespace PKHeX.WinForms.Controls
Tab_Box.MouseWheel += (s, e) =>
{
if (menu.Visible)
if (menu.mnuVSD.Visible)
return;
if (e.Delta > 1)
Box.MoveLeft();

View file

@ -27,7 +27,7 @@ namespace PKHeX.WinForms
MouseWheel += (s, e) =>
{
if (parent.menu.Visible)
if (parent.menu.mnuVSD.Visible)
return;
if (e.Delta > 1)
Box.MoveLeft();