mirror of
https://github.com/4sval/FModel.git
synced 2026-09-25 02:29:21 -05:00
some stuff
This commit is contained in:
@@ -129,11 +129,11 @@ public partial class App
|
||||
.WriteTo.Logger(lc => lc
|
||||
.Filter.ByExcluding(IsConversionLibrary)
|
||||
.WriteTo.Console(outputTemplate: template1, theme: AnsiConsoleTheme.Literate)
|
||||
.WriteTo.File(outputTemplate: template1, path: filePath))
|
||||
.WriteTo.File(outputTemplate: template1, path: filePath, shared: true))
|
||||
.WriteTo.Logger(lc => lc
|
||||
.Filter.ByIncludingOnly(IsConversionLibrary)
|
||||
.WriteTo.Console(outputTemplate: template2, theme: AnsiConsoleTheme.Literate)
|
||||
.WriteTo.File(outputTemplate: template2, path: filePath))
|
||||
.WriteTo.File(outputTemplate: template2, path: filePath, shared: true))
|
||||
.MinimumLevel.Override("CUE4Parse_Conversion", LogEventLevel.Verbose).WriteTo.Sink(ImGuiSink.Instance)
|
||||
.CreateLogger();
|
||||
|
||||
|
||||
@@ -311,7 +311,7 @@ public class ExportSessionViewModel : ViewModel
|
||||
|
||||
if (failed > 0)
|
||||
{
|
||||
FLogger.Append(ELog.Error, () => FLogger.Text($"Failed to export {failed} asset{(failed == 1 ? "" : "s")}", Constants.WHITE, true));
|
||||
FLogger.Append(ELog.Error, () => FLogger.Text($"Failed to export {failed} asset{(failed == 1 ? "" : "s")}, open the Export Session window for more details.", Constants.WHITE, true));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -460,6 +460,7 @@ public class ClassGroupViewModel(string name) : ViewModel
|
||||
public class ObjectGroupViewModel(string path) : ViewModel
|
||||
{
|
||||
public string Path { get; } = path;
|
||||
public string Directory { get; } = path.SubstringBeforeLast('/');
|
||||
public string Name { get; } = path.SubstringAfterLast('.');
|
||||
public ObservableCollection<LogEntryViewModel> Entries { get; } = [];
|
||||
|
||||
|
||||
@@ -212,25 +212,17 @@
|
||||
</Canvas>
|
||||
</Viewbox>
|
||||
|
||||
<Grid Grid.Column="1"
|
||||
VerticalAlignment="Center">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<TextBlock Grid.Column="0"
|
||||
Text="{Binding Name}"
|
||||
Foreground="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}" />
|
||||
<TextBlock Grid.Column="1"
|
||||
Margin="5,0,5,0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="9"
|
||||
Text="{Binding Path}"
|
||||
Foreground="{DynamicResource {x:Static adonisUi:Brushes.DisabledForegroundBrush}}"
|
||||
TextTrimming="CharacterEllipsis"
|
||||
ToolTip="{Binding Path}" />
|
||||
</Grid>
|
||||
<TextBlock Grid.Column="1" Margin="0,0,5,0"
|
||||
VerticalAlignment="Center"
|
||||
TextTrimming="CharacterEllipsis"
|
||||
ToolTip="{Binding Path}">
|
||||
<Run Text="{Binding Name, Mode=OneWay}"
|
||||
Foreground="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}" />
|
||||
<Run Text=" - "
|
||||
Foreground="{DynamicResource {x:Static adonisUi:Brushes.DisabledForegroundBrush}}" />
|
||||
<Run Text="{Binding Directory, Mode=OneWay}" FontSize="11"
|
||||
Foreground="{DynamicResource {x:Static adonisUi:Brushes.DisabledForegroundBrush}}" />
|
||||
</TextBlock>
|
||||
|
||||
<Button Grid.Column="2" ToolTip="Remove from queue" Click="OnRemoveFromQueueClick"
|
||||
Visibility="{Binding DataContext.CanExport, RelativeSource={RelativeSource AncestorType=adonisControls:AdonisWindow}, Converter={StaticResource BoolToVisibilityConverter}}"
|
||||
|
||||
@@ -738,7 +738,7 @@
|
||||
<Path Fill="{DynamicResource {x:Static adonisUi:Brushes.AccentForegroundBrush}}" Data="{StaticResource KeyboardIcon}" />
|
||||
</Canvas>
|
||||
</Viewbox>
|
||||
<TextBlock Text="Keybindings" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
||||
<TextBlock Text="Hotkeys" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
</TreeViewItem.Header>
|
||||
</TreeViewItem>
|
||||
|
||||
Reference in New Issue
Block a user