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);
|
base.OnMouseMove(e);
|
||||||
|
|
||||||
if (e.Button == 0)
|
if (e.Button != 0)
|
||||||
return;
|
{
|
||||||
|
|
||||||
float2 p = new float2(e.Location);
|
float2 p = new float2(e.Location);
|
||||||
|
|
||||||
viewport.Scroll(lastPos - p);
|
viewport.Scroll(lastPos - p);
|
||||||
lastPos = p;
|
lastPos = p;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void Frame()
|
void Frame()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user