mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:56:31 +00:00
fix gititnore, add ico
This commit is contained in:
+1
-1
@@ -4,4 +4,4 @@ obj
|
|||||||
.vs
|
.vs
|
||||||
*.DotSettings*
|
*.DotSettings*
|
||||||
*.user
|
*.user
|
||||||
log*
|
log*.txt
|
||||||
@@ -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)
|
||||||
|
|||||||
@@ -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;
|
DataContext = this;
|
||||||
};
|
};
|
||||||
|
|
||||||
Closing += (sender, args) =>
|
|
||||||
{
|
|
||||||
args.Cancel = true;
|
|
||||||
Visibility = Visibility.Hidden;
|
|
||||||
};
|
|
||||||
|
|
||||||
ThumbnailsView.KeyDown += async (sender, args) =>
|
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;
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user