The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Merge ../birdfont-2.x

These changes was commited to the Birdfont repository Sat, 25 Jun 2016 10:21:26 +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>
Sat, 25 Jun 2016 10:21:26 +0000 (12:21 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 25 Jun 2016 10:21:26 +0000 (12:21 +0200)
commit 297e6ea0125e5b5279b77fd7f8cdb21bd19febeb
tree 136b07fe001646cd79382eb61069dd55808f1350
parent 57c5d0d052b8cfbbcb938822f4737e2e840c6652
parent 857d3ff16469123312118c7cc76a022b6c57da31
Merge ../birdfont-2.x

libbirdfont/DrawingTools.vala
--- a/libbirdfont/DrawingTools.vala +++ b/libbirdfont/DrawingTools.vala @@ -1105,6 +1105,7 @@ zoom_tool.store_current_view (); glyph_canvas.get_current_display ().reset_zoom (); glyph_canvas.redraw_area(0, 0, GlyphCanvas.allocation.width, GlyphCanvas.allocation.height); + self.set_selected (false); }); zoombar_tool.add_tool (reset_zoom); reset_zoom.set_tool_visibility (false); @@ -1113,6 +1114,7 @@ full_glyph.select_action.connect((self) => { zoom_tool.store_current_view (); zoom_tool.zoom_full_glyph (); + self.set_selected (false); }); zoombar_tool.add_tool (full_glyph); @@ -1120,6 +1122,7 @@ zoom_boundaries.select_action.connect((self) => { zoom_tool.store_current_view (); glyph_canvas.get_current_display ().zoom_max (); + self.set_selected (false); }); zoombar_tool.add_tool (zoom_boundaries); @@ -1130,18 +1133,21 @@ ZoomTool.zoom_full_background_image (); glyph_canvas.redraw_area(0, 0, GlyphCanvas.allocation.width, GlyphCanvas.allocation.height); } + self.set_selected (false); }); zoombar_tool.add_tool (zoom_bg); Tool zoom_prev = new Tool ("prev", t_("Previous view")); zoom_prev.select_action.connect((self) => { zoom_tool.previous_view (); + self.set_selected (false); }); zoombar_tool.add_tool (zoom_prev); Tool zoom_next = new Tool ("next", t_("Next view")); zoom_next.select_action.connect((self) => { zoom_tool.next_view (); + self.set_selected (false); }); zoombar_tool.add_tool (zoom_next); // view_tools zoom_next.set_tool_visibility (false);