Skip to content

Commit 91484df

Browse files
committed
Fixed notification width.
Changed active notification colour to be slightly deeper based on feedback.
1 parent 782f399 commit 91484df

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Source/Controls/FissureControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public bool Active
2626
}
2727
}
2828

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

3131
public FissureControl() {
3232
InitializeComponent();

Source/Forms/NotificationForm.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ private async Task Animate() {
6969
void ShowWindow(double portion) {
7070
var width = (int)Math.Round(target.Width * portion);
7171

72-
Size = new Size(
73-
screen.Width - width,
74-
target.Height
75-
);
72+
Size = new Size(width, target.Height);
7673
Location = new Point(
7774
screen.Right - width,
7875
screen.Height / 2 - target.Height / 2

0 commit comments

Comments
 (0)