diff --git a/Eve-O-Preview/Presentation/ThumbnailManager.cs b/Eve-O-Preview/Presentation/ThumbnailManager.cs index 0753373..b8533ce 100644 --- a/Eve-O-Preview/Presentation/ThumbnailManager.cs +++ b/Eve-O-Preview/Presentation/ThumbnailManager.cs @@ -290,33 +290,14 @@ namespace EveOPreview.UI this._isHoverEffectActive = true; - IThumbnailView focusedView = null; + IThumbnailView view = this._thumbnailViews[id]; - foreach (KeyValuePair valuePair in this._thumbnailViews) - { - IThumbnailView view = valuePair.Value; - - if (view.Id != id) - { - view.SetTopMost(false); - } - else - { - focusedView = view; - } - } - - if (focusedView == null) - { - return; // This should neve happen! - } - - focusedView.SetTopMost(true); - focusedView.SetOpacity(1.0); + view.SetTopMost(true); + view.SetOpacity(1.0); if (this._configuration.ThumbnailZoomEnabled) { - this.ThumbnailZoomIn(focusedView); + this.ThumbnailZoomIn(view); } } diff --git a/README.md b/README.md index 06beaa1..08fd713 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -Created to aid playing with multiple clients in CCP game EVE-Online. +The purpose of this tool is to provide a simple way to keep an eye on several simultaneously running EVE Online clients and to easily switch between them. While running it shows a set of live thumbnails for each of the active EVE Online clients. These thumbnails allow fast switch to the corresponding EVE Online client either using mouse or a configurable hotkey. -It's essentially a task switcher, it does not relay any keyboard/mouse events and suchlike. The program works with EVE, EVE through Steam, or any combination thereof. +It's essentially a task switcher, it does not relay any keyboard/mouse events and suchlike. The app works with EVE, EVE through Steam, or any combination thereof. The program does NOT (and will NOT ever) do the following things: * modify EVE Online interface