diff --git a/src/ui/Controls/VideoPlayerContainer.cs b/src/ui/Controls/VideoPlayerContainer.cs index 99af0db8a..eb17471a0 100644 --- a/src/ui/Controls/VideoPlayerContainer.cs +++ b/src/ui/Controls/VideoPlayerContainer.cs @@ -1308,6 +1308,11 @@ namespace Nikse.SubtitleEdit.Controls } } + public void UnSetFullFixed() + { + PanelPlayer.Dock = DockStyle.None; + } + public void ShowFullScreenControls() { _pictureBoxFullscreen.Image = _bitmapNoFullscreen; diff --git a/src/ui/Forms/VideoPlayerUndocked.cs b/src/ui/Forms/VideoPlayerUndocked.cs index 1a98dcb5d..9d756e68a 100644 --- a/src/ui/Forms/VideoPlayerUndocked.cs +++ b/src/ui/Forms/VideoPlayerUndocked.cs @@ -256,6 +256,7 @@ namespace Nikse.SubtitleEdit.Forms _videoPlayerContainer.SubtitleText = string.Empty; _videoPlayerContainer.ShowFullscreenButton = Configuration.Settings.General.VideoPlayerShowFullscreenButton; _videoPlayerContainer.ShowNonFullScreenControls(); + _videoPlayerContainer.UnSetFullFixed(); if (RedockOnFullscreenEnd) { Close();