mirror of
https://github.com/DrBeef/RTCWQuest.git
synced 2025-04-23 15:33:23 +00:00
Make menus work a lot better by not snapping mouse to items
This commit is contained in:
parent
6dcf3a589d
commit
8739789ceb
1 changed files with 2 additions and 2 deletions
|
@ -4712,7 +4712,7 @@ void Menu_HandleMouseMove( menuDef_t *menu, float x, float y ) {
|
|||
//LOGI("clostest %f %f",dist,closestDist);
|
||||
}
|
||||
|
||||
if (closestItem)
|
||||
/* if (closestItem)
|
||||
{
|
||||
if ((closestDist != 0) && (closestDist < 20))
|
||||
{
|
||||
|
@ -4723,7 +4723,7 @@ void Menu_HandleMouseMove( menuDef_t *menu, float x, float y ) {
|
|||
DC->cursorx = x;
|
||||
DC->cursory = y;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
// FIXME: this is the whole issue of focus vs. mouse over..
|
||||
// need a better overall solution as i don't like going through everything twice
|
||||
|
|
Loading…
Reference in a new issue