The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Update stroke settings

Changes made to libbirdfont/DrawingTools.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/DrawingTools.vala +++ libbirdfont/DrawingTools.vala @@ -1663,10 +1663,11 @@ line_cap_butt.visible = StrokeTool.add_stroke; line_cap_round.visible = StrokeTool.add_stroke; line_cap_square.visible = StrokeTool.add_stroke; - MainWindow.get_toolbox ().update_expanders (); + stroke_expander.clear_cache (); stroke_expander.redraw (); + MainWindow.get_toolbox ().update_expanders (); } } }