diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs index 33d57e2b1..aeb491276 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs @@ -76,7 +76,7 @@ namespace Tango.PPC.UI var touch_screen = screens.OrderBy(x => x.Bounds.X).Last(); - bool hasTouch = TouchHelper.IsTouchEnabled() || settings.ForceTouchMode; + bool hasTouch = (TouchHelper.IsTouchEnabled() && !Debugger.IsAttached) || settings.ForceTouchMode; if (!hasTouch) { |
