From 6d00691d361d938d524646af702f2bbe95027ecd Mon Sep 17 00:00:00 2001 From: Anton Kasyanov Date: Sat, 13 Aug 2016 01:23:06 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From f86f551d777db82987ec82a48d36398890fbb871 Mon Sep 17 00:00:00 2001 From: Anton Kasyanov Date: Thu, 18 Aug 2016 22:23:38 +0300 Subject: [PATCH 2/2] Thumbnail management fix (topmost thumbnail gets corrupted) --- .../Presentation/ThumbnailManager.cs | 27 +++---------------- 1 file changed, 4 insertions(+), 23 deletions(-) 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); } }