From 3b7bb99c842087f8443e4f2e8d6630cd29192cc1 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Sun, 18 Feb 2024 18:10:43 +0800 Subject: [PATCH] feat: add implementation. --- .../Ursa.Demo/Pages/KeyGestureInputDemo.axaml | 10 +++- .../Controls/KeyGestureInput.axaml | 51 ++++++++++++++++--- src/Ursa/Controls/KeyGestureInput.cs | 44 ++++++++++++++-- 3 files changed, 92 insertions(+), 13 deletions(-) diff --git a/demo/Ursa.Demo/Pages/KeyGestureInputDemo.axaml b/demo/Ursa.Demo/Pages/KeyGestureInputDemo.axaml index 406c353..71f3e00 100644 --- a/demo/Ursa.Demo/Pages/KeyGestureInputDemo.axaml +++ b/demo/Ursa.Demo/Pages/KeyGestureInputDemo.axaml @@ -13,8 +13,14 @@ mc:Ignorable="d"> - + - + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Controls/KeyGestureInput.axaml b/src/Ursa.Themes.Semi/Controls/KeyGestureInput.axaml index 2bbbd31..0892fd1 100644 --- a/src/Ursa.Themes.Semi/Controls/KeyGestureInput.axaml +++ b/src/Ursa.Themes.Semi/Controls/KeyGestureInput.axaml @@ -2,6 +2,7 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:converters="using:Avalonia.Controls.Converters" + xmlns:ursaConverters="using:Ursa.Converters" xmlns:u="https://irihi.tech/ursa"> @@ -12,7 +13,7 @@ - + - + + + + + +