diff --git a/CUE4Parse b/CUE4Parse index b4b18abd..af4b6353 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit b4b18abd31a049b2c408a1867520ca06e5c8b144 +Subproject commit af4b6353b173e18e7349e27bded6fecb3eca1242 diff --git a/FModel/Views/Resources/Controls/AvalonEditor.xaml.cs b/FModel/Views/Resources/Controls/AvalonEditor.xaml.cs index 79e98951..ce634d9a 100644 --- a/FModel/Views/Resources/Controls/AvalonEditor.xaml.cs +++ b/FModel/Views/Resources/Controls/AvalonEditor.xaml.cs @@ -95,9 +95,8 @@ namespace FModel.Views.Resources.Controls { if (DataContext is not TabItem tabItem || Keyboard.Modifiers != ModifierKeys.Control) return; - + var fontSize = tabItem.FontSize + e.Delta / 50.0; - tabItem.FontSize = fontSize switch { < 6 => 6,