diff --git a/v2rayN/v2rayN/Forms/MainForm.cs b/v2rayN/v2rayN/Forms/MainForm.cs index e9edeb65..7ba19c28 100644 --- a/v2rayN/v2rayN/Forms/MainForm.cs +++ b/v2rayN/v2rayN/Forms/MainForm.cs @@ -158,18 +158,18 @@ namespace v2rayN.Forms { scServers.Panel2Collapsed = true; - if (!config.uiItem.mainLocation.IsEmpty) - { - if (config.uiItem.mainLocation.X >= SystemInformation.WorkingArea.Width - || config.uiItem.mainLocation.Y >= SystemInformation.WorkingArea.Height) - { - Location = new Point(0, 0); - } - else - { - Location = config.uiItem.mainLocation; - } - } + //if (!config.uiItem.mainLocation.IsEmpty) + //{ + // if (config.uiItem.mainLocation.X >= SystemInformation.WorkingArea.Width + // || config.uiItem.mainLocation.Y >= SystemInformation.WorkingArea.Height) + // { + // Location = new Point(0, 0); + // } + // else + // { + // Location = config.uiItem.mainLocation; + // } + //} if (!config.uiItem.mainSize.IsEmpty) { Width = config.uiItem.mainSize.Width;