The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Fix old scroll wheel code

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 @@ -211,7 +211,7 @@ } public override void scroll_wheel (double x, double y, double pixeldelta, double dy) { - scroll += dy * MainWindow.units; + scroll -= dy * MainWindow.units; if (scroll > page_height - allocation.height) { scroll = page_height - allocation.height;