From fa29cb8db8d5e1e0e833741611cfaa8d53f2a8c7 Mon Sep 17 00:00:00 2001 From: Matthew Bowra-Dean Date: Sun, 20 Dec 2009 18:38:49 +1300 Subject: [PATCH] Holding down left and right mouse buttons can be used a substitute for scrolling the game view on laptop mousepads/older mice --- OpenRa.Game/MainWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/MainWindow.cs b/OpenRa.Game/MainWindow.cs index 6de41f5c97..490ed037b7 100755 --- a/OpenRa.Game/MainWindow.cs +++ b/OpenRa.Game/MainWindow.cs @@ -104,7 +104,7 @@ namespace OpenRa.Game { base.OnMouseMove(e); - if (e.Button == MouseButtons.Middle) + if (e.Button == MouseButtons.Middle || e.Button == (MouseButtons.Left | MouseButtons.Right)) { int2 p = new int2(e.Location); Game.viewport.Scroll(lastPos - p);