{"Prinz Eugen改", "Prinz Eug"},\r
{"Graf Zeppelin", "Graf Zep"},\r
{"Graf Zeppelin改", "Graf Zep"},\r
- {"Libeccio改", "Libeccio"},\r
+ {"Libeccio改", "Libeccio"}\r
};\r
TruncateNameSub(dict, ShipNameWidth.AkashiTimer);\r
}\r
private void TruncateNameSub(Dictionary<string, string> dict, ShipNameWidth width)\r
{\r
var label = new ShipLabel.Name(Point.Empty, width) {Parent = new Panel()};\r
- Scaler.Factor = new SizeF(1,1);\r
+ Scaler.Factor = new SizeF(1, 1);\r
foreach (var entry in dict)\r
{\r
label.SetName(entry.Key);\r
_slotStatus = slotStatus;\r
ChangeFont(name);\r
Text = prefix + TruncateString(name, width);\r
- Invalidate(); // 必ずOnPaintを実行させるため\r
+ Invalidate(); // 必ずOnPaintを実行させるため\r
}\r
\r
private void ChangeFont(string name)\r
{\r
Status = status;\r
Font = BaseFont;\r
- Text = _hpPercent ? $"{(int)Floor(status.NowHp * 100.0 / status.MaxHp):D}%" : $"{status.NowHp:D}/{status.MaxHp:D}";\r
+ Text = _hpPercent\r
+ ? $"{(int)Floor(status.NowHp * 100.0 / status.MaxHp):D}%"\r
+ : $"{status.NowHp:D}/{status.MaxHp:D}";\r
BackColor = DamageColor(status);\r
}\r
\r