The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge branch '2.14' of github.com:johanmattssonm/birdfont into 2.14

Changes made to libbirdfont/AbstractMenu.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/AbstractMenu.vala +++ libbirdfont/AbstractMenu.vala @@ -36,11 +36,15 @@ if (tab_name == "Preview") { MenuTab.select_overview (); } + + MainWindow.hide_scrollbar (); + } else { + MainWindow.show_scrollbar (); } } } - public bool menu_visibility = false; + private bool menu_visibility = false; public SubMenu top_menu; SubMenu current_menu; @@ -219,7 +223,7 @@ y += height; } - menu_visibility = false; + show_menu = false; current_menu = (!) top_menu; GlyphCanvas.redraw (); }