优化代码
This commit is contained in:
@@ -74,9 +74,9 @@ namespace Ink_Canvas
|
||||
ToggleSwitchDrawShapeBorderAutoHide.IsOn = !ToggleSwitchDrawShapeBorderAutoHide.IsOn;
|
||||
|
||||
if (ToggleSwitchDrawShapeBorderAutoHide.IsOn)
|
||||
((SymbolIcon)sender).Symbol = Symbol.Pin;
|
||||
((FontIcon)sender).Glyph = "";
|
||||
else
|
||||
((SymbolIcon)sender).Symbol = Symbol.UnPin;
|
||||
((FontIcon)sender).Glyph = "";
|
||||
}
|
||||
|
||||
private object lastMouseDownSender;
|
||||
|
||||
Reference in New Issue
Block a user