mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 19:02:39 +08:00
style<UpdateAvailable>: show update available window as dialog and centered in Launcher
This commit is contained in:
@@ -103,7 +103,7 @@ namespace SourceGit.UI {
|
||||
Dispatcher.Invoke(() => {
|
||||
var dialog = new UpdateAvailable(ver);
|
||||
dialog.Owner = this;
|
||||
dialog.Show();
|
||||
dialog.ShowDialog();
|
||||
});
|
||||
}
|
||||
} catch {
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d"
|
||||
FontFamily="Consolas"
|
||||
Height="400" Width="500">
|
||||
Height="400" Width="500"
|
||||
WindowStartupLocation="CenterOwner" ResizeMode="NoResize">
|
||||
<!-- Enable WindowChrome Feature -->
|
||||
<WindowChrome.WindowChrome>
|
||||
<WindowChrome UseAeroCaptionButtons="False" CornerRadius="0" CaptionHeight="32"/>
|
||||
|
||||
Reference in New Issue
Block a user