Add HotKeyListener
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using Rect = Windows.Foundation.Rect;
|
||||
|
||||
namespace Toolkit.UI.WinUI;
|
||||
|
||||
public static class RectExtensions
|
||||
{
|
||||
public static Rect ToWindowsRect(this Windows.Rect rect) => new(rect.X, rect.Y, rect.Width, rect.Height);
|
||||
}
|
||||
Reference in New Issue
Block a user