From 8d8a81ec691d3b1f7c8382c8459530067372ba41 Mon Sep 17 00:00:00 2001 From: niuzhix <35690637@qq.com> Date: Sat, 2 Aug 2025 07:59:17 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E5=9B=9E=E6=BB=9A=20feat:=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=B6=E9=97=B4=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat: 增加时间限制(0.25-1024) --- CRSim.ScreenSimulator/Views/SimulatorWindow.xaml.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/CRSim.ScreenSimulator/Views/SimulatorWindow.xaml.cs b/CRSim.ScreenSimulator/Views/SimulatorWindow.xaml.cs index 7194b2c..52e66d2 100644 --- a/CRSim.ScreenSimulator/Views/SimulatorWindow.xaml.cs +++ b/CRSim.ScreenSimulator/Views/SimulatorWindow.xaml.cs @@ -38,14 +38,6 @@ namespace CRSim.ScreenSimulator.Views _timeService.Speed /= 2; SpeedText.Text = _timeService.Speed.ToString() + "x"; } - else - { - if (_timeService.Speed == 0.25) - { - _timeService.Speed = -1; - SpeedText.Text = _timeService.Speed.ToString() + "x"; - } - } } private void IncreaseSpeed(object sender, MouseButtonEventArgs e) { @@ -54,11 +46,6 @@ namespace CRSim.ScreenSimulator.Views _timeService.Speed *= 2; SpeedText.Text = _timeService.Speed.ToString() + "x"; } - if (_timeService.Speed == -1) - { - _timeService.Speed = 0.25; - SpeedText.Text = _timeService.Speed.ToString() + "x"; - } } private void Close(object sender, MouseButtonEventArgs e)