Compare commits
No commits in common. "d4f46099747bc2ae99bc2bc3143d442141aa2d7c" and "1983453a3c4800cc000fa56e8084793db750b60d" have entirely different histories.
d4f4609974
...
1983453a3c
@ -43,7 +43,7 @@ namespace Wpf_AiSportsMicrospace.Views.JumpRope
|
|||||||
|
|
||||||
|
|
||||||
// 容忍时间(节拍误差)
|
// 容忍时间(节拍误差)
|
||||||
public double _beatTolerance = 0.24; // ±150ms
|
public double _beatTolerance = 0.22; // ±150ms
|
||||||
private int _totalDots = 0;
|
private int _totalDots = 0;
|
||||||
// 滚动显示的节拍点集合
|
// 滚动显示的节拍点集合
|
||||||
public ObservableCollection<BeatItem> BeatDisplayLeft { get; set; } = new();
|
public ObservableCollection<BeatItem> BeatDisplayLeft { get; set; } = new();
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
xmlns:local="clr-namespace:Wpf_AiSportsMicrospace.Views"
|
xmlns:local="clr-namespace:Wpf_AiSportsMicrospace.Views"
|
||||||
xmlns:gif="http://wpfanimatedgif.codeplex.com"
|
xmlns:gif="http://wpfanimatedgif.codeplex.com"
|
||||||
WindowStyle="None"
|
WindowStyle="None"
|
||||||
mc:Ignorable="d" WindowState="Maximized" MouseDoubleClick="Window_MouseDoubleClick">
|
mc:Ignorable="d" WindowState="Maximized">
|
||||||
<Grid>
|
<Grid>
|
||||||
<!-- 过渡容器 -->
|
<!-- 过渡容器 -->
|
||||||
<ContentControl x:Name="MainContent"/>
|
<ContentControl x:Name="MainContent"/>
|
||||||
|
|||||||
@ -379,15 +379,6 @@ namespace Wpf_AiSportsMicrospace.Views
|
|||||||
time3.Visibility = Visibility.Hidden;
|
time3.Visibility = Visibility.Hidden;
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Window_MouseDoubleClick(object sender, MouseButtonEventArgs e)
|
|
||||||
{
|
|
||||||
// 确认是左键双击
|
|
||||||
if (e.ChangedButton == MouseButton.Right)
|
|
||||||
{
|
|
||||||
Application.Current.Shutdown();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user