优化代码
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Ink_Canvas.Controls
|
||||
{
|
||||
var button = (CircularColorButton)d;
|
||||
if (button.ButtonBorder == null || button.ColorOverlay == null) return;
|
||||
|
||||
|
||||
var size = (double)e.NewValue;
|
||||
button.ButtonBorder.Width = size;
|
||||
button.ButtonBorder.Height = size;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using iNKORE.UI.WPF.Modern.Common.IconKeys;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Media;
|
||||
using iNKORE.UI.WPF.Modern.Common.IconKeys;
|
||||
|
||||
namespace Ink_Canvas.Controls
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user