Make HotkeyControl hotkey binding two-way by default

This commit is contained in:
Yusyuriv 2024-04-18 14:29:14 +06:00
parent 9ce642532d
commit 56a8376f81
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

@ -65,7 +65,7 @@ namespace Flow.Launcher
public static readonly DependencyProperty HotkeyProperty = DependencyProperty.Register(
nameof(Hotkey), typeof(string), typeof(HotkeyControl),
new PropertyMetadata("", OnHotkeyChanged));
new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnHotkeyChanged));
public string Hotkey
{