mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fix partially unresponsive picker logic
This commit is contained in:
parent
e17d0597c2
commit
890366bbe1
|
@ -319,7 +319,8 @@ int CUI::DoPickerLogic(const void *pID, const CUIRect *pRect, float *pX, float *
|
||||||
if(MouseButton(0))
|
if(MouseButton(0))
|
||||||
SetActiveItem(pID);
|
SetActiveItem(pID);
|
||||||
}
|
}
|
||||||
else if(Inside)
|
|
||||||
|
if(Inside)
|
||||||
SetHotItem(pID);
|
SetHotItem(pID);
|
||||||
|
|
||||||
if(!CheckActiveItem(pID))
|
if(!CheckActiveItem(pID))
|
||||||
|
|
Loading…
Reference in a new issue