feature: add Ctrl+Enter/⌘+Enter hotkey to submit conventional commit (#874)

This commit is contained in:
leo 2025-01-07 10:36:07 +08:00
parent 85504b1487
commit 903a3b9660
No known key found for this signature in database

View file

@ -133,6 +133,10 @@
Margin="0,8,0,16" Margin="0,8,0,16"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Content="{DynamicResource Text.Sure}" Content="{DynamicResource Text.Sure}"
Click="OnApplyClicked"/> Click="OnApplyClicked"
HotKey="{OnPlatform Ctrl+Enter, macOS=⌘+Enter}"
ToolTip.Tip="{OnPlatform Ctrl+Enter, macOS=⌘+Enter}"
ToolTip.Placement="Top"
ToolTip.VerticalOffset="0"/>
</Grid> </Grid>
</v:ChromelessWindow> </v:ChromelessWindow>