mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-28 17:34:06 +02:00
Fix notification closing in the Settings Form
This commit is contained in:
parent
1befe0923e
commit
113247a06c
@ -36,7 +36,6 @@ public void ShowNotification(TweetNotification notification){
|
|||||||
|
|
||||||
public void ShowNotificationForSettings(bool resetAnimation){
|
public void ShowNotificationForSettings(bool resetAnimation){
|
||||||
if (browser.Address == "about:blank"){
|
if (browser.Address == "about:blank"){
|
||||||
browser.Load("about:blank");
|
|
||||||
browser.LoadHtml(TweetNotification.ExampleTweet.GenerateHtml(),"http://tweetdeck.twitter.com/");
|
browser.LoadHtml(TweetNotification.ExampleTweet.GenerateHtml(),"http://tweetdeck.twitter.com/");
|
||||||
resetAnimation = true;
|
resetAnimation = true;
|
||||||
}
|
}
|
||||||
@ -52,7 +51,7 @@ public void ShowNotificationForSettings(bool resetAnimation){
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void HideNotification(){
|
public void HideNotification(){
|
||||||
browser.Load("about:blank");
|
browser.LoadHtml("","about:blank");
|
||||||
Location = new Point(32000,32000);
|
Location = new Point(32000,32000);
|
||||||
|
|
||||||
timerNext.Stop();
|
timerNext.Stop();
|
||||||
|
Loading…
Reference in New Issue
Block a user