Don't blink button on debug

This commit is contained in:
Jaex 2017-03-06 10:49:55 +03:00
parent eefb1de22a
commit 392212278e
2 changed files with 3 additions and 1 deletions

View file

@ -65,7 +65,7 @@ public override GenericUploader CreateUploader(UploadersConfig config, TaskRefer
public sealed class GitHubGist : TextUploader, IOAuth2Basic
{
private const string URLAPI = "https://api.github.com/";
private const string URLAPI = "https://api.github.com";
public OAuth2Info AuthInfo { get; private set; }

View file

@ -1018,6 +1018,7 @@ private void MainForm_Shown(object sender, EventArgs e)
private void MainForm_VisibleChanged(object sender, EventArgs e)
{
#if !DEBUG
if (Visible)
{
tsmiDonate.StartAnimation();
@ -1026,6 +1027,7 @@ private void MainForm_VisibleChanged(object sender, EventArgs e)
{
tsmiDonate.StopAnimation();
}
#endif
}
private void MainForm_Resize(object sender, EventArgs e)