mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
oops, fix bug in prev chkin
This commit is contained in:
parent
97460ab612
commit
a1ce7203ec
@ -350,9 +350,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
|||||||
SET_MOUSE_COORD(x,LOWORD(lparam));
|
SET_MOUSE_COORD(x,LOWORD(lparam));
|
||||||
SET_MOUSE_COORD(y,HIWORD(lparam));
|
SET_MOUSE_COORD(y,HIWORD(lparam));
|
||||||
|
|
||||||
if(wparam & (MK_LBUTTON | MK_MBUTTON | MK_RBUTTON)) {
|
handle_mouse_motion(x, y);
|
||||||
handle_mouse_motion(x, y);
|
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
// if cursor is invisible, make it visible when moving in the window bars,etc
|
// if cursor is invisible, make it visible when moving in the window bars,etc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user