mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Do not drag-place stack into 'craftpreview' slot (#8514)
This commit is contained in:
		@@ -3410,7 +3410,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event)
 | 
			
		||||
			// Mouse has been moved and rmb is down and mouse pointer just
 | 
			
		||||
			// entered a new inventory field (checked in the entry-if, this
 | 
			
		||||
			// is the only action here that is generated by mouse movement)
 | 
			
		||||
			if (m_selected_item && s.isValid()) {
 | 
			
		||||
			if (m_selected_item && s.isValid() && s.listname != "craftpreview") {
 | 
			
		||||
				// Move 1 item
 | 
			
		||||
				// TODO: middle mouse to move 10 items might be handy
 | 
			
		||||
				if (m_auto_place) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user