Make menus work a lot better by not snapping mouse to items

This commit is contained in:
Simon 2020-09-30 22:27:40 +01:00
parent 6dcf3a589d
commit 8739789ceb

View file

@ -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