@@ -1434,7 +1434,7 @@ namespace Ink_Canvas.Windows
|
||||
ClearOtherOptionsInGroup(border, tag);
|
||||
|
||||
// 设置当前按钮为选中状态
|
||||
ThemeHelper.SetOptionButtonSelectedState(border, true);
|
||||
border.Background = new SolidColorBrush(Color.FromRgb(225, 225, 225));
|
||||
var textBlock = border.Child as TextBlock;
|
||||
if (textBlock != null)
|
||||
{
|
||||
@@ -1464,7 +1464,7 @@ namespace Ink_Canvas.Windows
|
||||
string childTag = border.Tag?.ToString();
|
||||
if (!string.IsNullOrEmpty(childTag) && childTag.StartsWith(groupName + "_"))
|
||||
{
|
||||
ThemeHelper.SetOptionButtonSelectedState(border, false);
|
||||
border.Background = new SolidColorBrush(Colors.Transparent);
|
||||
var textBlock = border.Child as TextBlock;
|
||||
if (textBlock != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user