From 5119652ca5e5f2321321308050272c4f531ef44a Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Mon, 23 Feb 2026 13:40:19 +0800 Subject: [PATCH] =?UTF-8?q?improve:=E5=B1=95=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/Helpers/CameraService.cs | 4 ++-- Ink Canvas/MainWindow.xaml | 2 +- Ink Canvas/MainWindow.xaml.cs | 1 + Ink Canvas/MainWindow_cs/MW_VideoPresenter.cs | 10 +++++++++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Ink Canvas/Helpers/CameraService.cs b/Ink Canvas/Helpers/CameraService.cs index 9b76c4d0..fbc4e67b 100644 --- a/Ink Canvas/Helpers/CameraService.cs +++ b/Ink Canvas/Helpers/CameraService.cs @@ -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() diff --git a/Ink Canvas/MainWindow.xaml b/Ink Canvas/MainWindow.xaml index c8c79183..8333e25e 100644 --- a/Ink Canvas/MainWindow.xaml +++ b/Ink Canvas/MainWindow.xaml @@ -10683,7 +10683,7 @@ + Width="282" Height="40" ToolTip="展台/截图分辨率">