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

Fix notifications only displaying the last one when multiple were enqueued at the same time

This commit is contained in:
chylex 2016-10-09 14:58:11 +02:00
parent 1bfc403a98
commit bb5161eb34

View File

@ -225,7 +225,7 @@ public void ShowNotification(TweetNotification notification){
tweetQueue.Enqueue(notification);
UpdateTitle();
if (!timerProgress.Enabled){
if (totalTime == 0){
LoadNextNotification();
}
}
@ -248,6 +248,7 @@ public void HideNotification(bool loadBlank){
Location = new Point(-32000, -32000);
progressBarTimer.Value = Program.UserConfig.NotificationTimerCountDown ? 1000 : 0;
timerProgress.Stop();
totalTime = 0;
StopMouseHook();
}