mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 15:35:21 +01:00 
			
		
		
		
	Fix dancing text
This commit is contained in:
		| @@ -1418,6 +1418,9 @@ void intlGUIEditBox::calculateScrollPos() | ||||
| 		// todo: adjust scrollbar
 | ||||
| 	} | ||||
| 
 | ||||
| 	if (!WordWrap && !MultiLine) | ||||
| 		return; | ||||
| 
 | ||||
| 	// vertical scroll position
 | ||||
| 	if (FrameRect.LowerRightCorner.Y < CurrentTextRect.LowerRightCorner.Y) | ||||
| 		VScrollPos += CurrentTextRect.LowerRightCorner.Y - FrameRect.LowerRightCorner.Y; // scrolling downwards
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user