diff --git a/Core/Notification/FormNotificationMain.Designer.cs b/Core/Notification/FormNotificationMain.Designer.cs index a509a254..5e101b44 100644 --- a/Core/Notification/FormNotificationMain.Designer.cs +++ b/Core/Notification/FormNotificationMain.Designer.cs @@ -49,7 +49,7 @@ private void InitializeComponent() { this.progressBarTimer.Margin = new System.Windows.Forms.Padding(0); this.progressBarTimer.Maximum = 1000; this.progressBarTimer.Name = "progressBarTimer"; - this.progressBarTimer.Size = new System.Drawing.Size(284, TimerBarHeight); + this.progressBarTimer.Size = new System.Drawing.Size(284, 4); this.progressBarTimer.TabIndex = 1; // // FormNotification diff --git a/Core/Notification/FormNotificationMain.cs b/Core/Notification/FormNotificationMain.cs index 72ae8030..30dc4f52 100644 --- a/Core/Notification/FormNotificationMain.cs +++ b/Core/Notification/FormNotificationMain.cs @@ -14,12 +14,12 @@ namespace TweetDuck.Core.Notification{ abstract partial class FormNotificationMain : FormNotificationBase{ private const string NotificationScriptFile = "notification.js"; - private readonly int timerBarHeight; private static readonly string NotificationScriptIdentifier = ScriptLoader.GetRootIdentifier(NotificationScriptFile); private static readonly string NotificationJS = ScriptLoader.LoadResource(NotificationScriptFile); private readonly PluginManager plugins; + private readonly int timerBarHeight; protected int timeLeft, totalTime; protected bool pausedDuringNotification;