Skip to content

Commit

Permalink
added some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
meeloo committed Dec 28, 2013
1 parent 8b5d37c commit 05a5609
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/WidgetTree/nuiTopLevel.cpp
Expand Up @@ -1323,12 +1323,10 @@ NGL_TOUCHES_DEBUG( NGL_OUT(_T("nuiTopLevel::CallMouseMove X:%d Y:%d\n"), rInfo.X
if (mMouseStates.find(rInfo.TouchId) != mMouseStates.end())
{
//NGL_OUT("Found %x\n", rInfo.TouchId);
// Only update the mouse state if there was an existing touch already registered.
// On a desktop computer with a mouse, when you move the mouse of the window with no button down there is no existing state to update.
mMouseStates[rInfo.TouchId] = rInfo;
}
else
{
//NGL_OUT("ERROR Touch Not found %x\n", rInfo.TouchId);
}

mMouseInfo.X = rInfo.X;
mMouseInfo.Y = rInfo.Y;
Expand Down

0 comments on commit 05a5609

Please sign in to comment.