From 32ed8ad78a92866b65554f356e568661d4c4b87d Mon Sep 17 00:00:00 2001 From: rabbitism Date: Tue, 6 Feb 2024 01:09:12 +0800 Subject: [PATCH] fix: update demo. --- demo/Ursa.Demo/Dialogs/PlainDialog.axaml | 5 - demo/Ursa.Demo/Pages/DrawerDemo.axaml | 115 +++++++++++++++--- .../ViewModels/DrawerDemoViewModel.cs | 65 ++++++---- src/Ursa.Themes.Semi/Controls/Drawer.axaml | 4 +- .../Controls/Drawer/DefaultDrawerControl.cs | 22 ++++ src/Ursa/Controls/Drawer/Drawer.cs | 12 +- .../OverlayShared/OverlayDialogHost.Drawer.cs | 12 +- 7 files changed, 182 insertions(+), 53 deletions(-) diff --git a/demo/Ursa.Demo/Dialogs/PlainDialog.axaml b/demo/Ursa.Demo/Dialogs/PlainDialog.axaml index 903a8b1..89dbb0d 100644 --- a/demo/Ursa.Demo/Dialogs/PlainDialog.axaml +++ b/demo/Ursa.Demo/Dialogs/PlainDialog.axaml @@ -9,10 +9,5 @@ x:Class="Ursa.Demo.Dialogs.PlainDialog"> - - A - B - C - diff --git a/demo/Ursa.Demo/Pages/DrawerDemo.axaml b/demo/Ursa.Demo/Pages/DrawerDemo.axaml index 866d7d1..fca5d36 100644 --- a/demo/Ursa.Demo/Pages/DrawerDemo.axaml +++ b/demo/Ursa.Demo/Pages/DrawerDemo.axaml @@ -1,18 +1,99 @@ - - - - - - + + + + + + + + + + + + + +