feat: Update demo. improve resizer margin for drawer.

This commit is contained in:
rabbitism
2024-09-17 23:13:56 +08:00
parent 219ead2172
commit dcba26e8af
5 changed files with 23 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ public partial class DrawerDemoViewModel : ObservableObject
[ObservableProperty] private bool _custom;
[ObservableProperty] private bool _isLocal;
[ObservableProperty] private bool _canResize;
public DrawerDemoViewModel()
{
@@ -42,6 +43,7 @@ public partial class DrawerDemoViewModel : ObservableObject
CanLightDismiss = CanLightDismiss,
IsCloseButtonVisible = IsCloseButtonVisible,
Title = Title,
CanResize = CanResize,
};
var hostId = IsLocal ? "LocalHost" : null;
if (Custom)