Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dont move item back when not clicking on a slot
  • Loading branch information
PilzAdam committed Dec 3, 2013
1 parent 1309e52 commit 60113bd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/guiFormSpecMenu.cpp
Expand Up @@ -2462,12 +2462,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
move_amount = 0;
}
}
else if(getAbsoluteClippingRect().isPointInside(m_pointer))
{
// Clicked somewhere else: deselect
m_selected_amount = 0;
}
else
else if (!getAbsoluteClippingRect().isPointInside(m_pointer))
{
// Clicked outside of the window: drop
if(button == 1) // right
Expand Down

0 comments on commit 60113bd

Please sign in to comment.