aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-15 13:22:53 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-15 13:22:53 +0300
commitc6b01f3e683b83fb0d6bf080efbd24a9a732b9f5 (patch)
tree900238695f8c1e0e2ea1f5786e3b847fcfa1ba43 /Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs
parentdf9b2580669472d446e109dff88bdfa247b23b1e (diff)
downloadTango-c6b01f3e683b83fb0d6bf080efbd24a9a732b9f5.tar.gz
Tango-c6b01f3e683b83fb0d6bf080efbd24a9a732b9f5.zip
Implemented process parameters item on machine studio tech board.
Diffstat (limited to 'Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs')
-rw-r--r--Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs b/Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs
index e70c374ed..87ba8f0ca 100644
--- a/Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs
+++ b/Software/Visual_Studio/Tango.Editors/CustomScrollViewer.cs
@@ -38,7 +38,10 @@ namespace Tango.Editors
protected override void OnPreviewKeyDown(KeyEventArgs e)
{
- e.Handled = true;
+ if (e.Key == Key.Up || e.Key == Key.Down || e.Key == Key.Right || e.Key == Key.Left)
+ {
+ e.Handled = true;
+ }
}
protected virtual void OnMouseZooming(MouseWheelEventArgs e)