Disabling ZoomOnHover option doesn't disable the zoom itself
This commit is contained in:
@@ -284,10 +284,13 @@ namespace EveOPreview.UI
|
|||||||
|
|
||||||
IThumbnailView view = this._thumbnailViews[id];
|
IThumbnailView view = this._thumbnailViews[id];
|
||||||
|
|
||||||
this.ThumbnailZoomIn(view);
|
|
||||||
view.SetTopMost(true);
|
view.SetTopMost(true);
|
||||||
|
|
||||||
view.SetOpacity(1.0);
|
view.SetOpacity(1.0);
|
||||||
|
|
||||||
|
if (this._configuration.EnableThumbnailZoom)
|
||||||
|
{
|
||||||
|
this.ThumbnailZoomIn(view);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ThumbnailViewLostFocus(IntPtr id)
|
private void ThumbnailViewLostFocus(IntPtr id)
|
||||||
@@ -299,10 +302,13 @@ namespace EveOPreview.UI
|
|||||||
|
|
||||||
IThumbnailView view = this._thumbnailViews[id];
|
IThumbnailView view = this._thumbnailViews[id];
|
||||||
|
|
||||||
this.ThumbnailZoomOut(view);
|
|
||||||
|
|
||||||
view.SetOpacity(this._configuration.ThumbnailsOpacity);
|
view.SetOpacity(this._configuration.ThumbnailsOpacity);
|
||||||
|
|
||||||
|
if (this._configuration.EnableThumbnailZoom)
|
||||||
|
{
|
||||||
|
this.ThumbnailZoomOut(view);
|
||||||
|
}
|
||||||
|
|
||||||
this._isHoverEffectActive = false;
|
this._isHoverEffectActive = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user