Bug fix for fontsize

This commit is contained in:
2dust
2025-01-05 19:10:12 +08:00
parent c35b4d3c1b
commit e63042af84
2 changed files with 3 additions and 1 deletions

View File

@@ -103,6 +103,8 @@ namespace v2rayN.Desktop.ViewModels
private void ModifyFontSize()
{
double size = CurrentFontSize;
if (size < Global.MinFontSize) return;
Style style = new(x => Selectors.Or(
x.OfType<Button>(),
x.OfType<TextBox>(),