git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1229 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -89,14 +89,13 @@ namespace OpenRa.Game
|
||||
{
|
||||
base.OnMouseMove(e);
|
||||
|
||||
if (e.Button == 0)
|
||||
return;
|
||||
|
||||
if (e.Button != 0)
|
||||
{
|
||||
float2 p = new float2(e.Location);
|
||||
|
||||
viewport.Scroll(lastPos - p);
|
||||
lastPos = p;
|
||||
}
|
||||
}
|
||||
|
||||
void Frame()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user