The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Remove paths

These changes was commited to the Birdfont repository Mon, 28 Dec 2015 15:43:23 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Mon, 28 Dec 2015 15:43:23 +0000]

Updated Files

libbirdfont/MoveTool.vala
--- a/libbirdfont/MoveTool.vala +++ b/libbirdfont/MoveTool.vala @@ -95,7 +95,12 @@ } foreach (Object p in g.active_paths) { - g.layers.remove (p); + if (p is FastPath) { + g.layers.remove_path (((FastPath) p).get_path ()); + } else { + g.layers.remove (p); + } + g.update_view (); }