Skip to content

Commit

Permalink
mirror fn
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonyCorbett committed Jun 8, 2021
1 parent f5c2204 commit 84c1692
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,4 @@ __pycache__/
/FFmpeg4
/VCRTL
/Installer/Output/OnlyMPortable.zip
/Installer/Output/OnlyMPortable
2 changes: 1 addition & 1 deletion OnlyM/Services/WebDisplayManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void ShowMirror()

if (onlyMMonitor?.MonitorId == null || mediaMonitor?.MonitorId == null)
{
Log.Logger.Debug("Cannot get monitor");
Log.Logger.Error("Cannot get monitor - unable to display mirror");
return;
}

Expand Down
3 changes: 2 additions & 1 deletion OnlyM/Windows/MediaWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,8 @@ private void ShowWebPage(MediaItem mediaItem, IReadOnlyCollection<MediaItem>? cu
var vm = (MediaViewModel)DataContext;
vm.IsWebPage = !mediaItem.IsPdf;

var showMirrorWindow = mediaItem.UseMirror && mediaItem.AllowUseMirror;
// mirror will only work if the media window is full-screen (rather than windowed)
var showMirrorWindow = mediaItem.UseMirror && mediaItem.AllowUseMirror && !IsWindowed;

int.TryParse(mediaItem.ChosenPdfPage, out var pdfStartingPage);

Expand Down
2 changes: 1 addition & 1 deletion SolutionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-GB")]

[assembly: AssemblyVersion("2.0.0.1")]
[assembly: AssemblyVersion("2.0.0.2")]

0 comments on commit 84c1692

Please sign in to comment.