mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:46:30 +00:00
fix gititnore, add ico
This commit is contained in:
+1
-1
@@ -4,4 +4,4 @@ obj
|
||||
.vs
|
||||
*.DotSettings*
|
||||
*.user
|
||||
log*
|
||||
log*.txt
|
||||
@@ -415,8 +415,6 @@ public partial class Annotator
|
||||
_mediaPlayer.Stop();
|
||||
_mediaPlayer.Dispose();
|
||||
_libVLC.Dispose();
|
||||
|
||||
Application.Current.Shutdown();
|
||||
}
|
||||
|
||||
private void OpenContainingFolder(object sender, RoutedEventArgs e)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Azaion.Common.DTO;
|
||||
|
||||
public class LoginResponse
|
||||
{
|
||||
public string Token { get; set; } = null!;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user