OSDN Git Service
(root)
/
kancollesniffer
/
KancolleSniffer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ズームしたときに文字が欠けないようにゆとりを持たせる
[kancollesniffer/KancolleSniffer.git]
/
KancolleSniffer
/
ShipLabels.cs
diff --git
a/KancolleSniffer/ShipLabels.cs
b/KancolleSniffer/ShipLabels.cs
index
e16d14b
..
ceb7371
100644
(file)
--- a/
KancolleSniffer/ShipLabels.cs
+++ b/
KancolleSniffer/ShipLabels.cs
@@
-69,20
+69,20
@@
namespace KancolleSniffer
new ShipLabel {Location = new Point(129, y), AutoSize = true, AnchorRight = true},
\r
new ShipLabel
\r
{
\r
new ShipLabel {Location = new Point(129, y), AutoSize = true, AnchorRight = true},
\r
new ShipLabel
\r
{
\r
- Location = new Point(13
2
, y),
\r
- Size = new Size(2
3
, height),
\r
+ Location = new Point(13
1
, y),
\r
+ Size = new Size(2
4
, height),
\r
TextAlign = ContentAlignment.MiddleRight
\r
},
\r
new ShipLabel
\r
{
\r
TextAlign = ContentAlignment.MiddleRight
\r
},
\r
new ShipLabel
\r
{
\r
- Location = new Point(15
7
, y),
\r
- Size = new Size(2
3
, height),
\r
+ Location = new Point(15
6
, y),
\r
+ Size = new Size(2
4
, height),
\r
TextAlign = ContentAlignment.MiddleRight
\r
},
\r
new ShipLabel
\r
{
\r
TextAlign = ContentAlignment.MiddleRight
\r
},
\r
new ShipLabel
\r
{
\r
- Location = new Point(17
7
, y),
\r
- Size = new Size(4
1
, height),
\r
+ Location = new Point(17
6
, y),
\r
+ Size = new Size(4
2
, height),
\r
TextAlign = ContentAlignment.MiddleRight
\r
},
\r
new ShipLabel {Location = new Point(2, y), AutoSize = true}, // 名前のZ-orderを下に
\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
new ShipLabel {Location = new Point(x + 88, y), AutoSize = true, AnchorRight = true},
\r
new ShipLabel
\r
{
\r
- Location = new Point(x + 8
6
, y),
\r
- Size = new Size(2
3
, height),
\r
+ Location = new Point(x + 8
5
, y),
\r
+ Size = new Size(2
4
, height),
\r
TextAlign = ContentAlignment.MiddleRight
\r
},
\r
new ShipLabel {Location = new Point(x + 2, y), AutoSize = true}, // 名前のZ-orderを下に
\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
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
return;
\r
for (var i = 0; i < _akashiTimers.Length; i++)
\r
{
\r