fix gititnore, add ico

This commit is contained in:
Alex Bezdieniezhnykh
2024-11-23 12:45:09 +02:00
parent 3b40bd601e
commit c80bb52fb9
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ obj
.vs .vs
*.DotSettings* *.DotSettings*
*.user *.user
log* log*.txt
-2
View File
@@ -415,8 +415,6 @@ public partial class Annotator
_mediaPlayer.Stop(); _mediaPlayer.Stop();
_mediaPlayer.Dispose(); _mediaPlayer.Dispose();
_libVLC.Dispose(); _libVLC.Dispose();
Application.Current.Shutdown();
} }
private void OpenContainingFolder(object sender, RoutedEventArgs e) private void OpenContainingFolder(object sender, RoutedEventArgs e)
+6
View File
@@ -0,0 +1,6 @@
namespace Azaion.Common.DTO;
public class LoginResponse
{
public string Token { get; set; } = null!;
}
+1 -7
View File
@@ -89,13 +89,7 @@ public partial class DatasetExplorer
DataContext = this; DataContext = this;
}; };
Closing += (sender, args) => ThumbnailsView.KeyDown += async (sender, args) =>
{
args.Cancel = true;
Visibility = Visibility.Hidden;
};
ThumbnailsView.KeyDown += async (sender, args) =>
{ {
switch (args.Key) switch (args.Key)
{ {
@@ -22,7 +22,7 @@ public class DatasetExplorerEventHandler(DatasetExplorer datasetExplorer, IGalle
public async Task Handle(KeyEvent keyEvent, CancellationToken cancellationToken) public async Task Handle(KeyEvent keyEvent, CancellationToken cancellationToken)
{ {
if (keyEvent.WindowEnum != WindowEnum.Annotator) if (keyEvent.WindowEnum != WindowEnum.DatasetExplorer)
return; return;
var key = keyEvent.Args.Key; var key = keyEvent.Args.Key;
+3 -1
View File
@@ -44,6 +44,7 @@ public partial class App
static App() static App()
{ {
//Load encrypted dlls
var result = Parser.Default.ParseArguments<SuiteCommandLineOptions>(Environment.GetCommandLineArgs()); var result = Parser.Default.ParseArguments<SuiteCommandLineOptions>(Environment.GetCommandLineArgs());
if (result.Errors.Any()) if (result.Errors.Any())
return; return;
@@ -158,8 +159,9 @@ public partial class App
protected override async void OnExit(ExitEventArgs e) protected override async void OnExit(ExitEventArgs e)
{ {
base.OnExit(e);
await _host.StopAsync(); await _host.StopAsync();
_host.Dispose(); _host.Dispose();
base.OnExit(e);
} }
} }
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB