优化代码
This commit is contained in:
@@ -100,7 +100,6 @@ namespace Ink_Canvas
|
|||||||
// 页面切换防抖机制
|
// 页面切换防抖机制
|
||||||
private DateTime _lastSlideSwitchTime = DateTime.MinValue;
|
private DateTime _lastSlideSwitchTime = DateTime.MinValue;
|
||||||
private int _pendingSlideIndex = -1;
|
private int _pendingSlideIndex = -1;
|
||||||
private System.Timers.Timer _slideSwitchDebounceTimer;
|
|
||||||
private const int SlideSwitchDebounceMs = 150;
|
private const int SlideSwitchDebounceMs = 150;
|
||||||
private bool _isInkClearedByButton = false;
|
private bool _isInkClearedByButton = false;
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -1294,7 +1294,7 @@ namespace Ink_Canvas.Windows
|
|||||||
recentTimer6 = "--:--";
|
recentTimer6 = "--:--";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
recentTimer1 = "--:--";
|
recentTimer1 = "--:--";
|
||||||
recentTimer2 = "--:--";
|
recentTimer2 = "--:--";
|
||||||
|
|||||||
Reference in New Issue
Block a user