1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-23 03:15:48 +02:00

Fix notification tooltip not disappearing when skipping/closing without moving mouse

This commit is contained in:
chylex 2018-01-11 00:06:18 +01:00
parent f956f696f4
commit 137a20ed0e

View File

@ -181,6 +181,8 @@ private void browser_IsBrowserInitializedChanged(object sender, IsBrowserInitial
public virtual void HideNotification(){
browser.Load("about:blank");
DisplayTooltip(null);
Location = ControlExtensions.InvisibleLocation;
currentNotification = null;
}
@ -206,7 +208,9 @@ protected virtual string GetTweetHTML(TweetNotification tweet){
protected virtual void LoadTweet(TweetNotification tweet){
currentNotification = tweet;
resourceHandler.SetHTML(GetTweetHTML(tweet));
browser.Load(TwitterUtils.TweetDeckURL);
DisplayTooltip(null);
}
protected virtual void SetNotificationSize(int width, int height){