2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00

[Core] Fix Notification positioning ()

Fixed-position notification positioning was off. Finally figured out why... The XPos arg was used for Y position as well.

A classic 1 character fix...
This commit is contained in:
F K 2024-03-11 07:09:47 -04:00 committed by GitHub
parent 9adf3fab08
commit 8e178cbb7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -129,7 +129,7 @@ namespace Observatory.UI
{
_defaultPosition = false;
int xLocation = Convert.ToInt32(screenBounds.Width * x);
int yLocation = Convert.ToInt32(screenBounds.Height * x);
int yLocation = Convert.ToInt32(screenBounds.Height * y);
Location = Point.Add(screenBounds.Location, new Size(xLocation, yLocation));
}
else