improve:计时器UI
This commit is contained in:
@@ -586,7 +586,7 @@ namespace Ink_Canvas
|
|||||||
if (indicator != null)
|
if (indicator != null)
|
||||||
{
|
{
|
||||||
// 设置左侧圆角
|
// 设置左侧圆角
|
||||||
indicator.CornerRadius = new CornerRadius(7, 0, 0, 7);
|
indicator.CornerRadius = new CornerRadius(7.5, 0, 0, 7.5);
|
||||||
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
||||||
new Thickness(0, 0, 0, 0),
|
new Thickness(0, 0, 0, 0),
|
||||||
TimeSpan.FromMilliseconds(200));
|
TimeSpan.FromMilliseconds(200));
|
||||||
@@ -620,7 +620,7 @@ namespace Ink_Canvas
|
|||||||
if (indicator != null)
|
if (indicator != null)
|
||||||
{
|
{
|
||||||
// 设置右侧圆角
|
// 设置右侧圆角
|
||||||
indicator.CornerRadius = new CornerRadius(0, 7, 7, 0);
|
indicator.CornerRadius = new CornerRadius(0, 7.5, 7.5, 0);
|
||||||
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
var animation = new System.Windows.Media.Animation.ThicknessAnimation(
|
||||||
new Thickness(118, 0, 0, 0),
|
new Thickness(118, 0, 0, 0),
|
||||||
TimeSpan.FromMilliseconds(200));
|
TimeSpan.FromMilliseconds(200));
|
||||||
|
|||||||
Reference in New Issue
Block a user