v1.18.2 Fixed PreviewOverlay not being TopMost
This commit is contained in:
@@ -439,6 +439,8 @@ namespace PreviewToy
|
|||||||
foreach (KeyValuePair<IntPtr, Preview> entry in previews)
|
foreach (KeyValuePair<IntPtr, Preview> entry in previews)
|
||||||
{
|
{
|
||||||
entry.Value.MakeTopMost(Properties.Settings.Default.always_on_top);
|
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.hover_zoom = Properties.Settings.Default.zoom_on_hover;
|
||||||
entry.Value.show_overlay = Properties.Settings.Default.show_overlay;
|
entry.Value.show_overlay = Properties.Settings.Default.show_overlay;
|
||||||
|
//makes the PreviewOverlay TopMost
|
||||||
|
entry.Value.overlay.makeTopMost();
|
||||||
if (!entry.Value.is_hovered_over)
|
if (!entry.Value.is_hovered_over)
|
||||||
{
|
{
|
||||||
entry.Value.Opacity = Properties.Settings.Default.opacity;
|
entry.Value.Opacity = Properties.Settings.Default.opacity;
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ namespace PreviewToy
|
|||||||
this.parent.render_area_Click(sender, e);
|
this.parent.render_area_Click(sender, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void makeTopMost()
|
||||||
|
{
|
||||||
|
this.TopMost = true;
|
||||||
|
}
|
||||||
|
|
||||||
private void client_label_Click(object sender, EventArgs e)
|
private void client_label_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<UpdateRequired>false</UpdateRequired>
|
<UpdateRequired>false</UpdateRequired>
|
||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.18.1.0</ApplicationVersion>
|
<ApplicationVersion>1.18.2.0</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
|||||||
Reference in New Issue
Block a user