修复设置bug

This commit is contained in:
2026-03-03 21:25:01 +08:00
parent 29a68b4ca9
commit 6c514df84e
8 changed files with 73 additions and 16 deletions

View File

@@ -2,6 +2,7 @@ using Cosmos.System;
using Cosmos.System.Graphics;
using CMLeonOS;
using CMLeonOS.Gui.ShellComponents;
using CMLeonOS.Settings;
using System;
using System.Collections.Generic;
using System.Drawing;
@@ -381,7 +382,7 @@ namespace CMLeonOS.Gui
RenderWallpaper();
fpsCounter = new Window(this, (int)(ScreenWidth) - 64, (int)(ScreenHeight - 16), 64, 16);
if (settingsService.ShowFps)
if (SettingsManager.GUI_ShowFps)
{
AddWindow(fpsCounter);
}