The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Redraw when points are moved

These changes was commited to the Birdfont repository Fri, 24 Apr 2015 11:21:58 +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, 24 Apr 2015 11:21:58 +0000 (13:21 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 24 Apr 2015 11:21:58 +0000 (13:21 +0200)
commit dc5ec4e71fdd712e2c141d555418130a5e12cedc
tree 2979a1613a7a583a89dfe50808da02380e93fd82
parent 8c08c949dbffa3d3dfd44b1735b740c919b69e71
Redraw when points are moved

libbirdfont/PenTool.vala
--- a/libbirdfont/PenTool.vala +++ b/libbirdfont/PenTool.vala @@ -603,7 +603,7 @@ handle_selection.path.update_region_boundaries (); // FIXME: redraw line only - glyph.redraw_area (0, 0, glyph.allocation.width, glyph.allocation.height); + GlyphCanvas.redraw (); if (GridTool.is_visible ()) { last_point_x = selected_handle.x; @@ -733,6 +733,8 @@ last_point_x = Glyph.path_coordinate_x (x); last_point_y = Glyph.path_coordinate_y (y); } + + GlyphCanvas.redraw (); } if (show_selection_box) {