Move "reuse assets" option in GUI from settings to export dialog

This commit is contained in:
Tyrrrz
2023-02-15 22:59:08 +02:00
parent 20a952aec5
commit 6620c6299c
6 changed files with 25 additions and 25 deletions

View File

@@ -267,6 +267,24 @@
VerticalAlignment="Center"
IsChecked="{Binding ShouldDownloadAssets}" />
</Grid>
<!-- Reuse assets -->
<Grid Margin="16,8" ToolTip="Reuse previously downloaded assets to avoid redundant requests">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock
Grid.Column="0"
VerticalAlignment="Center"
Text="Reuse assets" />
<ToggleButton
Grid.Column="1"
HorizontalAlignment="Right"
VerticalAlignment="Center"
IsChecked="{Binding ShouldReuseAssets}" />
</Grid>
</StackPanel>
</StackPanel>
</ScrollViewer>

View File

@@ -82,22 +82,6 @@
IsChecked="{Binding IsTokenPersisted}" />
</DockPanel>
<!-- Reuse assets -->
<DockPanel
Margin="16,8"
Background="Transparent"
LastChildFill="False"
ToolTip="Reuse previously downloaded assets to avoid redundant requests">
<TextBlock
VerticalAlignment="Center"
DockPanel.Dock="Left"
Text="Reuse downloaded assets" />
<ToggleButton
VerticalAlignment="Center"
DockPanel.Dock="Right"
IsChecked="{Binding ShouldReuseAssets}" />
</DockPanel>
<!-- Date format -->
<DockPanel
Margin="16,8"