The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix guides in the backgrounds tab

These changes was commited to the Birdfont repository Fri, 06 Nov 2015 19:12:27 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Fri, 06 Nov 2015 19:12:27 +0000]

Updated Files

libbirdfont/BackgroundTab.vala
libbirdfont/BirdFontFile.vala
--- a/libbirdfont/BackgroundTab.vala +++ b/libbirdfont/BackgroundTab.vala @@ -24,8 +24,7 @@ public BackgroundTab () { base ("", '\0'); singleton = this; - add_help_lines (); - + Toolbox tools = MainWindow.get_toolbox (); ZoomTool z = (ZoomTool) tools.get_tool ("zoom_tool"); z.store_current_view (); @@ -47,6 +46,8 @@ } public override void selected_canvas () { + base.selected_canvas (); + GlyphCanvas canvas = MainWindow.get_glyph_canvas (); GlyphCollection gc = new GlyphCollection ('\0', ""); gc.add_glyph (this);
--- a/libbirdfont/BirdFontFile.vala +++ b/libbirdfont/BirdFontFile.vala @@ -1367,8 +1367,6 @@ Layer parse_layer (Tag tag) { Layer layer = new Layer (); Path path; - - // FIXME: name etc. foreach (Attribute a in tag.get_attributes ()) { if (a.get_name () == "visible") {