mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38: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))
|
||||
SetActiveItem(pID);
|
||||
}
|
||||
else if(Inside)
|
||||
|
||||
if(Inside)
|
||||
SetHotItem(pID);
|
||||
|
||||
if(!CheckActiveItem(pID))
|
||||
|
|
Loading…
Reference in a new issue