OSDN Git Service

ウィンドウを元の位置に戻す条件を緩和する
authorKazuhiro Fujieda <fujieda@users.osdn.me>
Mon, 6 Nov 2017 11:23:09 +0000 (20:23 +0900)
committerKazuhiro Fujieda <fujieda@users.osdn.me>
Mon, 6 Nov 2017 11:32:33 +0000 (20:32 +0900)
KancolleSniffer/MainForm.cs

index ebf9e61..a54955c 100644 (file)
@@ -292,7 +292,7 @@ namespace KancolleSniffer
         {\r
             var rect = new Rectangle(\r
                 new Point(location.X + SystemInformation.IconSize.Width + SystemInformation.HorizontalFocusThickness,\r
-                    location.Y), new Size(60, SystemInformation.CaptionHeight));\r
+                    location.Y + SystemInformation.CaptionHeight) , new Size(60, 1));\r
             return Screen.AllScreens.Any(screen => screen.WorkingArea.Contains(rect));\r
         }\r
 \r