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:
parent
a474ba4260
commit
a7ab67925c
@ -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/"){
|
||||
|
Loading…
Reference in New Issue
Block a user