From 137a20ed0ee27b809036e33bbfdb6b22f23ef11e Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Thu, 11 Jan 2018 00:06:18 +0100 Subject: [PATCH] Fix notification tooltip not disappearing when skipping/closing without moving mouse --- Core/Notification/FormNotificationBase.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/Notification/FormNotificationBase.cs b/Core/Notification/FormNotificationBase.cs index 428be6db..86b5c055 100644 --- a/Core/Notification/FormNotificationBase.cs +++ b/Core/Notification/FormNotificationBase.cs @@ -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){