Skip to content

Commit

Permalink
Fixed notification width.
Browse files Browse the repository at this point in the history
Changed active notification colour to be slightly deeper based on feedback.
  • Loading branch information
Bilge committed Aug 24, 2018
1 parent 782f399 commit 91484df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Source/Controls/FissureControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public bool Active
}
}

public Color ActiveColour { get; } = Color.FromArgb(byte.MaxValue / 5, Color.CornflowerBlue);
public Color ActiveColour { get; } = Color.FromArgb(byte.MaxValue / 4, Color.CornflowerBlue);

public FissureControl() {
InitializeComponent();
Expand Down
5 changes: 1 addition & 4 deletions Source/Forms/NotificationForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ private async Task Animate() {
void ShowWindow(double portion) {
var width = (int)Math.Round(target.Width * portion);

Size = new Size(
screen.Width - width,
target.Height
);
Size = new Size(width, target.Height);
Location = new Point(
screen.Right - width,
screen.Height / 2 - target.Height / 2
Expand Down

0 comments on commit 91484df

Please sign in to comment.