Compare commits

...

3 commits

Author SHA1 Message Date
2dust
838bd2c794 up 7.4.1
Some checks failed
release macos / build (Release) (push) Has been cancelled
release / build (Release) (push) Has been cancelled
2024-12-19 16:18:45 +08:00
2dust
b2bbe432e0 Fix
https://github.com/2dust/v2rayN/issues/6309
2024-12-19 16:07:45 +08:00
2dust
b3d8042452 The lower limit of the font size from 10 to 8 2024-12-19 13:53:40 +08:00
5 changed files with 7 additions and 15 deletions

View file

@ -76,7 +76,7 @@
public const int MaxPort = 65536;
public const string DelayUnit = "";
public const string SpeedUnit = "";
public const int MinFontSize = 10;
public const int MinFontSize = 8;
public const string RebootAs = "rebootas";
public const string AvaAssets = "avares://v2rayN/Assets/";

View file

@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>7.4.0</Version>
<Version>7.4.1</Version>
</PropertyGroup>
<ItemGroup>

View file

@ -105,7 +105,7 @@
<DataTemplate>
<Border
Width="160"
Margin="0"
Margin="-6"
Padding="0"
Theme="{StaticResource CardBorder}">
<DockPanel>
@ -143,13 +143,12 @@
<DataTemplate>
<Border
Width="160"
Margin="0"
Margin="-6"
Padding="0"
Theme="{StaticResource CardBorder}">
<DockPanel>
<Border
Width="5"
Height="30"
Margin="0,1"
Background="YellowGreen"
CornerRadius="4"

View file

@ -323,7 +323,7 @@ namespace v2rayN.Desktop.Views
ViewModel?.RefreshServers();
}
}
//#endregion Event
//#region UI
@ -353,10 +353,7 @@ namespace v2rayN.Desktop.Views
}
if (item.Name.ToLower().StartsWith("to"))
{
if (!_config.GuiItem.EnableStatistics)
{
item2.IsVisible = false;
}
item2.IsVisible = _config.GuiItem.EnableStatistics;
}
}
}

View file

@ -1,7 +1,6 @@
using MaterialDesignThemes.Wpf;
using ReactiveUI;
using Splat;
using System;
using System.Reactive.Disposables;
using System.Windows;
using System.Windows.Controls;
@ -342,10 +341,7 @@ namespace v2rayN.Views
}
if (item.Name.ToLower().StartsWith("to"))
{
if (!_config.GuiItem.EnableStatistics)
{
item2.Visibility = Visibility.Hidden;
}
item2.Visibility = _config.GuiItem.EnableStatistics ? Visibility.Visible : Visibility.Hidden;
}
}
}