v1.18.2 Fixed PreviewOverlay not being TopMost

This commit is contained in:
MakariAeron
2014-12-28 23:16:49 -06:00
parent cef89599c3
commit 978bef8c11
3 changed files with 10 additions and 1 deletions

View File

@@ -439,6 +439,8 @@ namespace PreviewToy
foreach (KeyValuePair<IntPtr, Preview> entry in previews)
{
entry.Value.MakeTopMost(Properties.Settings.Default.always_on_top);
//makes the PreviewOverlay topmost
entry.Value.overlay.makeTopMost();
}
}
@@ -500,6 +502,8 @@ namespace PreviewToy
}
entry.Value.hover_zoom = Properties.Settings.Default.zoom_on_hover;
entry.Value.show_overlay = Properties.Settings.Default.show_overlay;
//makes the PreviewOverlay TopMost
entry.Value.overlay.makeTopMost();
if (!entry.Value.is_hovered_over)
{
entry.Value.Opacity = Properties.Settings.Default.opacity;