From d62138eb4157af7de073aeedd22be9f104af82c4 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 20 Apr 2026 15:33:07 +0200 Subject: [PATCH] Fix: Wrapped Multiline Input/Output scrolls horizontally at the edges - cont'd (#1414) --- src/Fl_Input_.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index cf711d9af..42c0c0cf8 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -362,7 +362,7 @@ void Fl_Input_::drawtext(int X, int Y, int W, int H, bool draw_active) { } else if (curx < newscroll+threshold) { newscroll = curx-threshold; } - if (newscroll < 0 || ((type() & FL_MULTILINE_INPUT) && (type() & FL_INPUT_WRAP))) newscroll = 0; + if (newscroll < 0) newscroll = 0; if (newscroll != xscroll_) { xscroll_ = newscroll; mu_p = 0; erase_cursor_only = 0;