improve:展台

This commit is contained in:
2026-02-23 13:40:19 +08:00
parent 1fb0ea29a3
commit 5119652ca5
4 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -40,13 +40,13 @@ namespace Ink_Canvas.Helpers
public int ResolutionWidth
{
get => _resolutionWidth;
set => _resolutionWidth = Math.Max(320, Math.Min(1920, value));
set => _resolutionWidth = Math.Max(320, Math.Min(3840, value));
}
public int ResolutionHeight
{
get => _resolutionHeight;
set => _resolutionHeight = Math.Max(240, Math.Min(1080, value));
set => _resolutionHeight = Math.Max(240, Math.Min(2160, value));
}
public CameraService()