We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9665387 commit 135a531Copy full SHA for 135a531
src/xrGame/UICursor.cpp
@@ -4,7 +4,6 @@
4
#include "ui/UIStatic.h"
5
#include "ui/UIBtnHint.h"
6
#include "xrEngine/IInputReceiver.h"
7
-#include "xrEngine/xr_input.h"
8
9
#define C_DEFAULT D3DCOLOR_XRGB(0xff,0xff,0xff)
10
@@ -114,8 +113,6 @@ void CUICursor::UpdateCursorPosition(int _dx, int _dy)
114
113
}
115
clamp (vPos.x, 0.f, UI_BASE_WIDTH);
116
clamp (vPos.y, 0.f, UI_BASE_HEIGHT);
117
- if (m_b_use_win_cursor && pInput->get_exclusive_mode())
118
- SetUICursorPosition(vPos);
119
120
121
void CUICursor::SetUICursorPosition(Fvector2 pos)
0 commit comments