mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 17:44:59 +00:00
Task/UI usability tweaks (#1314)
* Allow About to center in parent * About closes on Escape * ConfirmEmptyCommit dialog closes on Escape * Ignore Dev file * Missed condition --------- Co-authored-by: Martin Smith <martin.smith@purplebricks.com>
This commit is contained in:
parent
6c62789c4c
commit
85b223a3d0
4 changed files with 16 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
Title="{DynamicResource Text.About}"
|
||||
Width="520" Height="230"
|
||||
CanResize="False"
|
||||
WindowStartupLocation="CenterScreen">
|
||||
WindowStartupLocation="CenterOwner">
|
||||
<Grid RowDefinitions="Auto,*">
|
||||
<!-- TitleBar -->
|
||||
<Grid Grid.Row="0" Height="28" IsVisible="{Binding !#ThisControl.UseSystemWindowFrame}">
|
||||
|
@ -67,4 +67,9 @@
|
|||
</StackPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Window.KeyBindings>
|
||||
<KeyBinding Gesture="Escape" Command="{Binding #ThisControl.Close}"/>
|
||||
</Window.KeyBindings>
|
||||
|
||||
</v:ChromelessWindow>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue