fixed position of sprite
This commit is contained in:
1 parent
41566e8829
commit
95b0fa6d29
1 file changed
+5
@@ -18,6 +18,11 @@ namespace HandyControl.Controls
|
||||
};
|
||||
|
||||
sprite.Show();
|
||||
|
||||
var desktopWorkingArea = SystemParameters.WorkArea;
|
||||
sprite.Left = desktopWorkingArea.Width - sprite.ActualWidth - 50;
|
||||
sprite.Top = 50 - sprite.Padding.Top;
|
||||
|
||||
return sprite;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user