diff --git a/TwitchDownloaderCore/ChatRenderer.cs b/TwitchDownloaderCore/ChatRenderer.cs index 3338c493..717bf985 100644 --- a/TwitchDownloaderCore/ChatRenderer.cs +++ b/TwitchDownloaderCore/ChatRenderer.cs @@ -187,7 +187,7 @@ private void RenderVideo(ChatRenderOptions renderOptions, Queue f { int startSeconds = (int)Math.Floor(chatJson.video.start); int firstCommentSeconds = (int)Math.Floor(chatJson.comments.First().content_offset_seconds); - videoStart = startSeconds < firstCommentSeconds ? startSeconds : firstCommentSeconds; + videoStart = startSeconds; duration = (int)Math.Ceiling(chatJson.video.end) - videoStart; } else diff --git a/TwitchDownloaderWPF/PageChatDownload.xaml.cs b/TwitchDownloaderWPF/PageChatDownload.xaml.cs index c6fce6ab..89fdf4c5 100644 --- a/TwitchDownloaderWPF/PageChatDownload.xaml.cs +++ b/TwitchDownloaderWPF/PageChatDownload.xaml.cs @@ -62,13 +62,13 @@ private void SetEnabled(bool isEnabled, bool onlyCrop) numEndHour.IsEnabled = isEnabled; numEndMinute.IsEnabled = isEnabled; numEndSecond.IsEnabled = isEnabled; - checkEmbed.IsEnabled = isEnabled; - radioRelative.IsEnabled = isEnabled; - radioUTC.IsEnabled = isEnabled; - radioNone.IsEnabled = isEnabled; - + if (!onlyCrop) { + radioRelative.IsEnabled = isEnabled; + radioUTC.IsEnabled = isEnabled; + radioNone.IsEnabled = isEnabled; + checkEmbed.IsEnabled = isEnabled; btnDownload.IsEnabled = isEnabled; radioJson.IsEnabled = isEnabled; radioText.IsEnabled = isEnabled; diff --git a/TwitchDownloaderWPF/Properties/AssemblyInfo.cs b/TwitchDownloaderWPF/Properties/AssemblyInfo.cs index b159b4ed..0faf5312 100644 --- a/TwitchDownloaderWPF/Properties/AssemblyInfo.cs +++ b/TwitchDownloaderWPF/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.39.9.0")] +[assembly: AssemblyVersion("1.39.10.0")] [assembly: AssemblyFileVersion("1.0.0.0")]