mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-19 01:03:50 -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:
parent
9adf3fab08
commit
8e178cbb7b
@ -129,7 +129,7 @@ namespace Observatory.UI
|
|||||||
{
|
{
|
||||||
_defaultPosition = false;
|
_defaultPosition = false;
|
||||||
int xLocation = Convert.ToInt32(screenBounds.Width * x);
|
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));
|
Location = Point.Add(screenBounds.Location, new Size(xLocation, yLocation));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user