Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
andanteyk committed Aug 9, 2017
2 parents 539dd04 + 20156a3 commit da8aedd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions Browser/FormBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ private void ToolMenu_Other_LastScreenShot_CopyToClipboard_Click( object sender,
try {
using ( var img = new Bitmap( _lastScreenShotPath ) ) {
Clipboard.SetImage( img );
AddLog( 2, string.Format( "スクリーンショット {0} をクリップボードにコピーしました。", _lastScreenShotPath ) );
}
} catch ( Exception ex ) {
BrowserHost.AsyncRemoteRun( () =>
Expand Down
6 changes: 3 additions & 3 deletions ElectronicObserver/Utility/SoftwareInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static string SoftwareNameEnglish {
/// </summary>
public static string VersionJapanese {
get {
return SoftwareNameJapanese + "二七型改";
return SoftwareNameJapanese + "二七型改甲";
}
}

Expand All @@ -44,7 +44,7 @@ public static string VersionJapanese {
/// </summary>
public static string VersionEnglish {
get {
return "2.7.1";
return "2.7.1.1";
}
}

Expand All @@ -54,7 +54,7 @@ public static string VersionEnglish {
/// </summary>
public static DateTime UpdateTime {
get {
return DateTimeHelper.CSVStringToTime( "2017/08/07 21:00:00" );
return DateTimeHelper.CSVStringToTime( "2017/08/09 21:00:00" );
}
}

Expand Down
11 changes: 8 additions & 3 deletions ElectronicObserver/Window/Control/FleetState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ public bool AutoShorten {
}
}

private bool _enabled;
public bool Enabled {
get { return Label.Visible; }
set { Label.Visible = value; }
get { return _enabled; }
set {
_enabled = value;
Label.Visible = value;
}
}


Expand Down Expand Up @@ -428,7 +432,8 @@ public void RefreshFleetState() {
}

public int GetIconIndex() {
return StateLabels.OrderBy( s => s.State ).First().Label.ImageIndex;
var first = StateLabels.Where( s => s.Enabled ).OrderBy( s => s.State ).FirstOrDefault();
return first == null ? (int)ResourceManager.IconContent.FormFleet : first.Label.ImageIndex;
}

}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

*このリンクの更新は遅れる可能性があります。最新版は[こちら](http://electronicobserver.blog.fc2.com/)で確認してください。*

[ver. 2.7.1 (2017/08/07)](http://bit.ly/2hCIp3e)
[ver. 2.7.1.1 (2017/08/09)](http://bit.ly/2vmsUzQ)

[更新内容・履歴はこちらで確認できます。](https://github.com/andanteyk/ElectronicObserver/wiki/ChangeLog)

Expand Down

0 comments on commit da8aedd

Please sign in to comment.