1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Right mouse button behaviour for craft/inventory If right mousebutton clicked once then don't drop single items into slots. If right mouse button has been clicked and held a second time, drop items as the mouse is moved. In the second case (automatically drop/place items as mouse is moved) only auto-drop into blank slots, or slots that contain the same item.

This commit is contained in:
Craig Robbins 2014-10-09 17:53:20 +10:00
parent d7b3046cf6
commit f6912f4241
2 changed files with 21 additions and 1 deletions

View file

@ -328,6 +328,8 @@ protected:
s32 m_old_tooltip_id;
std::string m_old_tooltip;
bool m_rmouse_auto_place;
bool m_allowclose;
bool m_lock;
v2u32 m_lockscreensize;