Comment unused message fields and use vector for mouse pos instead.
This commit is contained in:
parent
6538a561a6
commit
f0d9228580
1 changed files with 7 additions and 7 deletions
|
|
@ -194,7 +194,7 @@ protected:
|
|||
case SetMouseLocation:
|
||||
{
|
||||
CoreWindow ^window = CoreWindow::GetForCurrentThread();
|
||||
Point mousePosScreen = Point(msg->Float0 + window->Bounds.X, msg->Float1 + window->Bounds.Y);
|
||||
Point mousePosScreen = Point(msg->Vector0.x + window->Bounds.X, msg->Vector0.y + window->Bounds.Y);
|
||||
window->PointerPosition = mousePosScreen;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue