From bb1b10a44073b81887be13d833ff2dbf8010c6d8 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 3 Mar 2026 16:45:51 -0800 Subject: [PATCH] Applied xuyun018's fix for Fl_Tree horiz scroll (#1297) --- src/Fl_Tree.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_Tree.cxx b/src/Fl_Tree.cxx index 08c8aa1f2..b888700ca 100644 --- a/src/Fl_Tree.cxx +++ b/src/Fl_Tree.cxx @@ -671,7 +671,7 @@ void Fl_Tree::calc_tree() { // We need this to compute scrollbars.. // By the end, 'Y' will be the lowest point on the tree // - int X = _tix + _prefs.marginleft() + _hscroll->value(); + int X = _tix + _prefs.marginleft() - _hscroll->value(); int Y = _tiy + _prefs.margintop() - _vscroll->value(); int W = _tiw; // Adjust root's X/W if connectors off