The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Fix bugs in file dialog on windows

Changes made to libbirdfont/Table.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/Table.vala +++ libbirdfont/Table.vala @@ -65,7 +65,7 @@ } } - private void layout () { + public void layout () { int width; rows = get_rows (); @@ -243,7 +243,7 @@ } public override void scroll_to (double percent) { - scroll = percent * page_height; + scroll = percent * (page_height - allocation.height); if (scroll > page_height) { scroll = (int) (page_height - allocation.height);