Fix issue where hiding thumbnails was delayed
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user