logo issue fix
This commit is contained in:
@@ -101,7 +101,7 @@ namespace mpvnet
|
|||||||
|
|
||||||
public bool Border { get; set; } = true;
|
public bool Border { get; set; } = true;
|
||||||
public bool Fullscreen { get; set; }
|
public bool Fullscreen { get; set; }
|
||||||
public bool IsLogoVisible { set; get; }
|
public bool IsLogoVisible { set; get; } = true;
|
||||||
public bool IsQuitNeeded { set; get; } = true;
|
public bool IsQuitNeeded { set; get; } = true;
|
||||||
public bool TaskbarProgress { get; set; } = true;
|
public bool TaskbarProgress { get; set; } = true;
|
||||||
public bool WasInitialSizeSet;
|
public bool WasInitialSizeSet;
|
||||||
@@ -1074,7 +1074,7 @@ namespace mpvnet
|
|||||||
|
|
||||||
if (file.Ext() == "iso")
|
if (file.Ext() == "iso")
|
||||||
LoadISO(file);
|
LoadISO(file);
|
||||||
else if(CorePlayer.SubtitleTypes.Contains(file.Ext()))
|
else if(SubtitleTypes.Contains(file.Ext()))
|
||||||
commandv("sub-add", file);
|
commandv("sub-add", file);
|
||||||
else if (file.Ext().Length != 3 && File.Exists(Path.Combine(file, "BDMV\\index.bdmv")))
|
else if (file.Ext().Length != 3 && File.Exists(Path.Combine(file, "BDMV\\index.bdmv")))
|
||||||
{
|
{
|
||||||
@@ -1150,9 +1150,9 @@ namespace mpvnet
|
|||||||
List<string> files = Directory.GetFiles(dir).ToList();
|
List<string> files = Directory.GetFiles(dir).ToList();
|
||||||
|
|
||||||
files = files.Where(file =>
|
files = files.Where(file =>
|
||||||
CorePlayer.VideoTypes.Contains(file.Ext()) ||
|
VideoTypes.Contains(file.Ext()) ||
|
||||||
CorePlayer.AudioTypes.Contains(file.Ext()) ||
|
AudioTypes.Contains(file.Ext()) ||
|
||||||
CorePlayer.ImageTypes.Contains(file.Ext())).ToList();
|
ImageTypes.Contains(file.Ext())).ToList();
|
||||||
|
|
||||||
files.Sort(new StringLogicalComparer());
|
files.Sort(new StringLogicalComparer());
|
||||||
int index = files.IndexOf(path);
|
int index = files.IndexOf(path);
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ namespace mpvnet
|
|||||||
height = autoFitHeight;
|
height = autoFitHeight;
|
||||||
width = height * videoSize.Width / videoSize.Height;
|
width = height * videoSize.Width / videoSize.Height;
|
||||||
}
|
}
|
||||||
if (App.StartSize == "width-always" && windowSize.Height != 0)
|
else if(App.StartSize == "width-always" && windowSize.Height != 0)
|
||||||
{
|
{
|
||||||
width = windowSize.Width;
|
width = windowSize.Width;
|
||||||
height = (int)Math.Ceiling(width * videoSize.Height / (double)videoSize.Width);
|
height = (int)Math.Ceiling(width * videoSize.Height / (double)videoSize.Width);
|
||||||
|
|||||||
Reference in New Issue
Block a user