Clone in a terminal:
Commit d51b484
Johan Mattsson - 2015-04-17T17:23:40+00:00
d51b484e5079c92539a73d229fe036bcdcbc5f5fjohan.mattsson.m@gmail.com

Fix scrolling in table layout

Changed files (1)

Diff

diff --git a/libbirdfont/TableLayout.vala b/libbirdfont/TableLayout.valaindex 8d96e1c..9ce764c 100644--- a/libbirdfont/TableLayout.vala+++ b/libbirdfont/TableLayout.vala@@ -210,6 +210,10 @@ public class TableLayout : FontDisplay { 		 		if (scroll + allocation.height >=  content_height) { 			scroll = content_height - allocation.height;+			+			if (scroll < 0) {+				scroll = 0;+			} 		} 		 		update_scrollbar ();

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112