mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
Industry directory, AS/GS and Textfile window did not consider RTL when applying horizontal scrolling.
This commit is contained in:
@@ -910,7 +910,7 @@ struct ScriptDebugWindow : public Window {
|
||||
|
||||
AutoRestoreBackup dpi_backup(_cur_dpi, &tmp_dpi);
|
||||
|
||||
fr.left -= this->hscroll->GetPosition();
|
||||
fr = ScrollRect(fr, *this->hscroll, 1);
|
||||
|
||||
auto [first, last] = this->vscroll->GetVisibleRangeIterators(log);
|
||||
for (auto it = first; it != last; ++it) {
|
||||
|
||||
Reference in New Issue
Block a user