The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix scrolling in table layout

These changes was commited to the Birdfont repository Fri, 17 Apr 2015 17:23:40 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Fri, 17 Apr 2015 17:23:40 +0000]

Updated Files

libbirdfont/TableLayout.vala
--- a/libbirdfont/TableLayout.vala +++ b/libbirdfont/TableLayout.vala @@ -210,6 +210,10 @@ if (scroll + allocation.height >= content_height) { scroll = content_height - allocation.height; + + if (scroll < 0) { + scroll = 0; + } } update_scrollbar ();