The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Fix old scroll wheel code

Changes made to libbirdfont/TabContent.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/TabContent.vala +++ libbirdfont/TabContent.vala @@ -220,7 +220,7 @@ } if (!MainWindow.get_menu ().show_menu) { - GlyphCanvas.current_display.scroll_wheel (x, y, 15, 0); + GlyphCanvas.current_display.scroll_wheel (x, y, 0, 15); } } @@ -230,7 +230,7 @@ } if (!MainWindow.get_menu ().show_menu) { - GlyphCanvas.current_display.scroll_wheel (x, y, -15, 0); + GlyphCanvas.current_display.scroll_wheel (x, y, 0, -15); } }