mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-06-30 16:23:41 -04:00
[Core] Fix Notification positioning (#145)
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:
@ -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
|
||||
|
Reference in New Issue
Block a user