OSDN Git Service

ズームしたときに文字が欠けないようにゆとりを持たせる
[kancollesniffer/KancolleSniffer.git] / KancolleSniffer / ShipLabels.cs
index e16d14b..ceb7371 100644 (file)
@@ -69,20 +69,20 @@ namespace KancolleSniffer
                     new ShipLabel {Location = new Point(129, y), AutoSize = true, AnchorRight = true},\r
                     new ShipLabel\r
                     {\r
-                        Location = new Point(132, y),\r
-                        Size = new Size(23, height),\r
+                        Location = new Point(131, y),\r
+                        Size = new Size(24, height),\r
                         TextAlign = ContentAlignment.MiddleRight\r
                     },\r
                     new ShipLabel\r
                     {\r
-                        Location = new Point(157, y),\r
-                        Size = new Size(23, height),\r
+                        Location = new Point(156, y),\r
+                        Size = new Size(24, height),\r
                         TextAlign = ContentAlignment.MiddleRight\r
                     },\r
                     new ShipLabel\r
                     {\r
-                        Location = new Point(177, y),\r
-                        Size = new Size(41, height),\r
+                        Location = new Point(176, y),\r
+                        Size = new Size(42, height),\r
                         TextAlign = ContentAlignment.MiddleRight\r
                     },\r
                     new ShipLabel {Location = new Point(2, y), AutoSize = true}, // 名前のZ-orderを下に\r
@@ -150,8 +150,8 @@ namespace KancolleSniffer
                     new ShipLabel {Location = new Point(x + 88, y), AutoSize = true, AnchorRight = true},\r
                     new ShipLabel\r
                     {\r
-                        Location = new Point(x + 86, y),\r
-                        Size = new Size(23, height),\r
+                        Location = new Point(x + 85, y),\r
+                        Size = new Size(24, height),\r
                         TextAlign = ContentAlignment.MiddleRight\r
                     },\r
                     new ShipLabel {Location = new Point(x + 2, y), AutoSize = true}, // 名前のZ-orderを下に\r
@@ -217,7 +217,7 @@ namespace KancolleSniffer
         public void AdjustAkashiTimers()\r
         {\r
             var scale = ShipLabel.ScaleFactor;\r
-            if (scale.Height < 1.2 || scale.Height > 1.3)\r
+            if (scale.Height < 1.2)\r
                 return;\r
             for (var i = 0; i < _akashiTimers.Length; i++)\r
             {\r