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;

View File

@@ -31,6 +31,11 @@ namespace PreviewToy
this.parent.render_area_Click(sender, e);
}
public void makeTopMost()
{
this.TopMost = true;
}
private void client_label_Click(object sender, EventArgs e)
{

View File

@@ -28,7 +28,7 @@
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.18.1.0</ApplicationVersion>
<ApplicationVersion>1.18.2.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>