oops
This commit is contained in:
@@ -41,6 +41,7 @@ namespace OpenRa.Game
|
||||
dragEnd = GetWorldPos(mi);
|
||||
|
||||
if (mi.Button == MouseButtons.Left && mi.Event == MouseInputEvent.Up)
|
||||
{
|
||||
if (dragStart.HasValue && !(dragStart.Value == GetWorldPos(mi)))
|
||||
{
|
||||
/* finalize drag selection */
|
||||
@@ -50,6 +51,9 @@ namespace OpenRa.Game
|
||||
/* finalize click selection */
|
||||
}
|
||||
|
||||
dragStart = dragEnd = null;
|
||||
}
|
||||
|
||||
if (mi.Button == MouseButtons.None && mi.Event == MouseInputEvent.Move)
|
||||
{
|
||||
/* update the cursor to reflect the thing under us - note this
|
||||
|
||||
Reference in New Issue
Block a user