mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Specify the default display type in Card and HotkeyDisplay controls
This commit is contained in:
parent
5a0f1f8a04
commit
a3b13ef6ac
2 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ namespace Flow.Launcher.Resources.Controls
|
|||
{
|
||||
public enum CardType
|
||||
{
|
||||
Default,
|
||||
Inside,
|
||||
InsideFit
|
||||
}
|
||||
|
|
@ -57,6 +58,6 @@ namespace Flow.Launcher.Resources.Controls
|
|||
}
|
||||
public static readonly DependencyProperty TypeProperty =
|
||||
DependencyProperty.Register(nameof(Type), typeof(CardType), typeof(Card),
|
||||
new PropertyMetadata(null));
|
||||
new PropertyMetadata(CardType.Default));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace Flow.Launcher.Resources.Controls
|
|||
|
||||
public static readonly DependencyProperty TypeProperty =
|
||||
DependencyProperty.Register(nameof(Type), typeof(DisplayType), typeof(HotkeyDisplay),
|
||||
new PropertyMetadata(null));
|
||||
new PropertyMetadata(DisplayType.Default));
|
||||
|
||||
private static void keyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue