The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 06 Nov 2015 19:12:27 +0000 (20:12 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 06 Nov 2015 19:12:27 +0000 (20:12 +0100)
commit 628312000df02e535962e977b9a0cfa5530d6560
tree 1eeef1fc7721084cd10a0ef6aff412ccd407cf90
parent 23336d8f2d49bfaeb8ddb1440ec2753536c57b6e
Fix guides in the backgrounds tab

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") {