mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Change some rough/inappropriate language in comments (#9061)
This commit is contained in:
parent
1f142ec06f
commit
53ebd803c6
5 changed files with 12 additions and 9 deletions
|
@ -1109,10 +1109,13 @@ void GUIEditBoxWithScrollBar::breakText()
|
|||
m_broken_text_positions.push_back(last_line_start);
|
||||
}
|
||||
|
||||
// TODO: that function does interpret VAlign according to line-index (indexed line is placed on top-center-bottom)
|
||||
// but HAlign according to line-width (pixels) and not by row.
|
||||
// Intuitively I suppose HAlign handling is better as VScrollPos should handle the line-scrolling.
|
||||
// But please no one change this without also rewriting (and this time fucking testing!!!) autoscrolling (I noticed this when fixing the old autoscrolling).
|
||||
// TODO: that function does interpret VAlign according to line-index (indexed
|
||||
// line is placed on top-center-bottom) but HAlign according to line-width
|
||||
// (pixels) and not by row.
|
||||
// Intuitively I suppose HAlign handling is better as VScrollPos should handle
|
||||
// the line-scrolling.
|
||||
// But please no one change this without also rewriting (and this time
|
||||
// testing!!!) autoscrolling (I noticed this when fixing the old autoscrolling).
|
||||
void GUIEditBoxWithScrollBar::setTextRect(s32 line)
|
||||
{
|
||||
if (line < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue