bug fix for logo not shown on start
This commit is contained in:
@@ -83,7 +83,6 @@ namespace mpvnet
|
||||
|
||||
if (mp.GPUAPI != "vulkan") mp.VideoSizeAutoResetEvent.WaitOne(App.StartThreshold);
|
||||
if (Height < FontHeight * 4) SetFormPosAndSize();
|
||||
if (mp.get_property_int("playlist-count") == 0) mp.ShowLogo();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -508,6 +507,12 @@ namespace mpvnet
|
||||
}));
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
if (mp.get_property_int("playlist-count") == 0) mp.ShowLogo();
|
||||
}
|
||||
|
||||
protected override void OnShown(EventArgs e)
|
||||
{
|
||||
base.OnShown(e);
|
||||
|
||||
Reference in New Issue
Block a user