Browse Source

fixes in Path Handler

pull/633/head
jkuehner 11 years ago
parent
commit
a9e325cf8b
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PathHandlerExtension.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PathHandlerExtension.cs

@ -754,6 +754,7 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
int _movingDistanceY; int _movingDistanceY;
public void KeyDownAction(object sender, KeyEventArgs e) public void KeyDownAction(object sender, KeyEventArgs e)
{ {
if (_selectedThumbs.Count > 0) {
if (IsArrowKey(e.Key)) { if (IsArrowKey(e.Key)) {
if (operation == null) { if (operation == null) {
SetOperation(); SetOperation();
@ -774,6 +775,7 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
if (operation != null) if (operation != null)
MovePoints(_movingDistanceX, _movingDistanceY, false); MovePoints(_movingDistanceX, _movingDistanceY, false);
} }
}
public void KeyUpAction(object sender, KeyEventArgs e) public void KeyUpAction(object sender, KeyEventArgs e)
{ {

Loading…
Cancel
Save