Skip to content

Commit ceda7a2

Browse files
authored
Fix vod download trim radio buttons always being enabled (#1119)
* Fix vod download trim radio buttons always being enabled * Adjust margin
1 parent e5dc67d commit ceda7a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

TwitchDownloaderWPF/PageVodDownload.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<TextBlock Text="{lex:Loc Length}" HorizontalAlignment="Right" Foreground="{DynamicResource AppText}" />
7070
<TextBlock Text="{lex:Loc Quality}" HorizontalAlignment="Right" Margin="0,15,0,0" Foreground="{DynamicResource AppText}" />
7171
<TextBlock HorizontalAlignment="Right" Margin="0,15,0,0" Foreground="{DynamicResource AppText}"><Run Text="{lex:Loc VideoTrimMode}"/><Hyperlink ToolTipService.ShowDuration="30000" Foreground="{DynamicResource AppHyperlink}"><Hyperlink.ToolTip><Run Text="{lex:Loc VideoTrimModeTooltip}"/></Hyperlink.ToolTip>(?)</Hyperlink>:</TextBlock>
72-
<TextBlock Text="{lex:Loc TrimVideo}" HorizontalAlignment="Right" Margin="0,11,0,0" Foreground="{DynamicResource AppText}" />
72+
<TextBlock Text="{lex:Loc TrimVideo}" HorizontalAlignment="Right" Margin="0,10,0,0" Foreground="{DynamicResource AppText}" />
7373
<TextBlock Text="{lex:Loc VideoDownloadThreads}" HorizontalAlignment="Right" Margin="0,46,0,0" Foreground="{DynamicResource AppText}" />
7474
<TextBlock HorizontalAlignment="Right" Margin="0,21,0,0" Foreground="{DynamicResource AppText}"><Run Text="{lex:Loc Oauth}"/><Hyperlink NavigateUri="https://www.youtube.com/watch?v=1MBsUoFGuls" RequestNavigate="Hyperlink_RequestNavigate" ToolTipService.ShowDuration="30000" Foreground="{DynamicResource AppHyperlink}"><Hyperlink.ToolTip><Run Text="{lex:Loc OauthTooltip}"/></Hyperlink.ToolTip>(?)</Hyperlink>:</TextBlock>
7575
</StackPanel>

TwitchDownloaderWPF/PageVodDownload.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ private void SetEnabled(bool isEnabled)
5151
checkEnd.IsEnabled = isEnabled;
5252
SplitBtnDownload.IsEnabled = isEnabled;
5353
MenuItemEnqueue.IsEnabled = isEnabled;
54+
RadioTrimSafe.IsEnabled = isEnabled;
55+
RadioTrimExact.IsEnabled = isEnabled;
5456
SetEnabledTrimStart(isEnabled & checkStart.IsChecked.GetValueOrDefault());
5557
SetEnabledTrimEnd(isEnabled & checkEnd.IsChecked.GetValueOrDefault());
5658
}

0 commit comments

Comments
 (0)