When Zoomed In the thumbnail window should always stay on the top
This commit is contained in:
@@ -307,13 +307,13 @@ namespace EveOPreview.UI
|
|||||||
|
|
||||||
IThumbnailView view = this._thumbnailViews[id];
|
IThumbnailView view = this._thumbnailViews[id];
|
||||||
|
|
||||||
view.SetOpacity(this._configuration.ThumbnailsOpacity);
|
|
||||||
|
|
||||||
if (this._configuration.EnableThumbnailZoom)
|
if (this._configuration.EnableThumbnailZoom)
|
||||||
{
|
{
|
||||||
this.ThumbnailZoomOut(view);
|
this.ThumbnailZoomOut(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
view.SetOpacity(this._configuration.ThumbnailsOpacity);
|
||||||
|
|
||||||
this._isHoverEffectActive = false;
|
this._isHoverEffectActive = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,7 +17,6 @@ namespace EveOPreview.UI
|
|||||||
// This is pure brainless View
|
// This is pure brainless View
|
||||||
// Just somewhat more complex than usual
|
// Just somewhat more complex than usual
|
||||||
private bool _isThumbnailSetUp;
|
private bool _isThumbnailSetUp;
|
||||||
private bool _isTopMost;
|
|
||||||
private bool _isOverlayVisible;
|
private bool _isOverlayVisible;
|
||||||
private bool _isPositionChanged;
|
private bool _isPositionChanged;
|
||||||
private bool _isSizeChanged;
|
private bool _isSizeChanged;
|
||||||
@@ -34,7 +33,6 @@ namespace EveOPreview.UI
|
|||||||
|
|
||||||
this.IsOverlayEnabled = false;
|
this.IsOverlayEnabled = false;
|
||||||
this._isThumbnailSetUp = false;
|
this._isThumbnailSetUp = false;
|
||||||
this._isTopMost = false;
|
|
||||||
this._isOverlayVisible = false;
|
this._isOverlayVisible = false;
|
||||||
|
|
||||||
this._isPositionChanged = true;
|
this._isPositionChanged = true;
|
||||||
@@ -147,14 +145,8 @@ namespace EveOPreview.UI
|
|||||||
|
|
||||||
public void SetTopMost(bool enableTopmost)
|
public void SetTopMost(bool enableTopmost)
|
||||||
{
|
{
|
||||||
if (this._isTopMost == enableTopmost)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.TopMost = enableTopmost;
|
this.TopMost = enableTopmost;
|
||||||
this._overlay.TopMost = enableTopmost;
|
this._overlay.TopMost = enableTopmost;
|
||||||
this._isTopMost = enableTopmost;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ZoomIn(ViewZoomAnchor anchor, int zoomFactor)
|
public void ZoomIn(ViewZoomAnchor anchor, int zoomFactor)
|
||||||
|
Reference in New Issue
Block a user