1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-12 05:34:06 +02:00

Fix flickering when switching to next notification

This commit is contained in:
chylex 2016-04-11 19:52:53 +02:00
parent b23fbf1e72
commit 95c68785af

View File

@ -60,7 +60,10 @@ public void HideNotification(){
private void LoadNextNotification(){
TweetNotification tweet = tweetQueue.Dequeue();
browser.Load("about:blank"); // required, otherwise shit breaks
if (browser.Address == "about:blank"){
browser.Load("about:blank"); // required, otherwise shit breaks
}
browser.LoadHtml(tweet.GenerateHtml(),"http://tweetdeck.twitter.com/");
totalTime = timeLeft = tweet.GetDisplayDuration(Program.UserConfig.NotificationDuration);