Don't select new item when listbox was moving
This commit is contained in:
parent
67b9c85918
commit
9d9fb06401
@ -367,7 +367,6 @@ bool CGUISTKListBox::OnEvent(const SEvent& event)
|
|||||||
case EMIE_LMOUSE_LEFT_UP:
|
case EMIE_LMOUSE_LEFT_UP:
|
||||||
{
|
{
|
||||||
Selecting = false;
|
Selecting = false;
|
||||||
Moving = false;
|
|
||||||
|
|
||||||
if (isPointInside(p) && !Moving)
|
if (isPointInside(p) && !Moving)
|
||||||
selectNew(event.MouseInput.Y);
|
selectNew(event.MouseInput.Y);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user