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
*.DotSettings*
*.user
log*
log*.txt
-2
View File
@@ -415,8 +415,6 @@ public partial class Annotator
_mediaPlayer.Stop();
_mediaPlayer.Dispose();
_libVLC.Dispose();
Application.Current.Shutdown();
}
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!;
}
-6
View File
@@ -89,12 +89,6 @@ public partial class DatasetExplorer
DataContext = this;
};
Closing += (sender, args) =>
{
args.Cancel = true;
Visibility = Visibility.Hidden;
};
ThumbnailsView.KeyDown += async (sender, args) =>
{
switch (args.Key)
@@ -22,7 +22,7 @@ public class DatasetExplorerEventHandler(DatasetExplorer datasetExplorer, IGalle
public async Task Handle(KeyEvent keyEvent, CancellationToken cancellationToken)
{
if (keyEvent.WindowEnum != WindowEnum.Annotator)
if (keyEvent.WindowEnum != WindowEnum.DatasetExplorer)
return;
var key = keyEvent.Args.Key;
+3 -1
View File
@@ -44,6 +44,7 @@ public partial class App
static App()
{
//Load encrypted dlls
var result = Parser.Default.ParseArguments<SuiteCommandLineOptions>(Environment.GetCommandLineArgs());
if (result.Errors.Any())
return;
@@ -158,8 +159,9 @@ public partial class App
protected override async void OnExit(ExitEventArgs e)
{
base.OnExit(e);
await _host.StopAsync();
_host.Dispose();
base.OnExit(e);
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB