1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-08-07 21:40:35 +02:00

Allow moving the notification window when holding Alt in debug builds

This commit is contained in:
chylex 2017-01-23 01:13:15 +01:00
parent a474ba4260
commit a7ab67925c

View File

@ -53,7 +53,11 @@ public FormBrowser(PluginManager pluginManager, UpdaterSettings updaterSettings)
this.plugins.PluginChangedState += plugins_PluginChangedState;
this.notification = CreateNotificationForm(NotificationFlags.AutoHide | NotificationFlags.TopMost);
#if DEBUG
this.notification.CanMoveWindow = () => (ModifierKeys & Keys.Alt) == Keys.Alt;
#else
this.notification.CanMoveWindow = () => false;
#endif
this.notification.Show();
this.browser = new ChromiumWebBrowser("https://tweetdeck.twitter.com/"){