mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Don't blink button on debug
This commit is contained in:
parent
eefb1de22a
commit
392212278e
2 changed files with 3 additions and 1 deletions
|
@ -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; }
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue