mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 14:46:31 +00:00
fix show image, fix zoom
This commit is contained in:
@@ -229,13 +229,13 @@ public class AnnotatorEventHandler(
|
||||
mainWindow.Editor.ResetBackground();
|
||||
|
||||
formState.CurrentMedia = mediaInfo;
|
||||
mainWindow.Title = $"Azaion Annotator - {mediaInfo.Name}";
|
||||
|
||||
|
||||
//need to wait a bit for correct VLC playback event handling
|
||||
await Task.Delay(100, ct);
|
||||
mediaPlayer.Stop();
|
||||
mainWindow.Title = $"Azaion Annotator - {mediaInfo.Name}";
|
||||
mediaPlayer.Play(new Media(libVLC, mediaInfo.Path));
|
||||
if (formState.CurrentMedia.MediaType == MediaTypes.Image)
|
||||
mediaPlayer.SetPause(true);
|
||||
}
|
||||
|
||||
//SAVE: MANUAL
|
||||
|
||||
Reference in New Issue
Block a user