Skip to content
Snippets Groups Projects
Commit eb2936c2 authored by Riley Mcgee's avatar Riley Mcgee
Browse files

Help Context opening N times resolved

parent be9c0a68
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ namespace Gifitti.Models
{
originalGif.SelectActiveFrame(dimension, index);
//find the frame
return (Image)originalGif.Clone();
return originalGif;
//return a copy of it
}
......
......@@ -25,7 +25,7 @@ namespace Gifitti.View_Models
{
#region Fields
GifModel gm;
HelpContext f2 = new HelpContext();
// GifImage _currentGif; <- used to encapsulate info later
private const int widthBuffer = 20;
private const int heightBuffer = 60;
......@@ -300,8 +300,10 @@ namespace Gifitti.View_Models
/// <param name="e"> Event arguments associated with this event. </param>
private void menuOpenHelp(object sender, EventArgs e)
{
HelpContext f2 = new HelpContext();
f2.Show();
if(f2.IsDisposed)
f2 = new HelpContext();
if (!f2.Visible)
f2.Show();
}
/// <summary>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment