From b50491a08da21187c4762521fade935ea004f42e Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 16 Jan 2026 23:25:07 +0100 Subject: [PATCH] Fix issue where hiding thumbnails was delayed --- src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs index 595e26a..03ec277 100644 --- a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs +++ b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs @@ -177,6 +177,8 @@ namespace EveOPreview.Services { this._toggleAllThumbnailsHotkey = new HotkeyHandler(mainHandle, toggleAllThumbnailsKey); this._toggleAllThumbnailsHotkey.Pressed += (object s, HandledEventArgs e) => { this._configuration.ThumbnailsManuallyHidden = !this._configuration.ThumbnailsManuallyHidden; + this._hideThumbnailsDelay = 0; + this.RefreshThumbnails(); System.Diagnostics.Debug.WriteLine( $"Toggled all thumbnails: {(this._configuration.ThumbnailsManuallyHidden ? "Hidden" : "Visible")}"); e.Handled = true; @@ -256,6 +258,8 @@ namespace EveOPreview.Services { this._toggleAllThumbnailsHotkey = new HotkeyHandler(mainHandle, toggleAllThumbnailsKey); this._toggleAllThumbnailsHotkey.Pressed += (object s, HandledEventArgs e) => { this._configuration.ThumbnailsManuallyHidden = !this._configuration.ThumbnailsManuallyHidden; + this._hideThumbnailsDelay = 0; + this.RefreshThumbnails(); System.Diagnostics.Debug.WriteLine( $"Toggled all thumbnails: {(this._configuration.ThumbnailsManuallyHidden ? "Hidden" : "Visible")}"); e.Handled = true;