The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Remove objects in sublayers

Changes made to libbirdfont/MoveTool.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/MoveTool.vala +++ libbirdfont/MoveTool.vala @@ -96,12 +96,7 @@ } foreach (SvgBird.Object p in g.active_paths) { - if (p is PathObject) { - LayerUtils.remove_path (g.layers, ((PathObject) p).get_path ()); - } else { - g.layers.remove (p); - } - + g.layers.remove (p); g.update_view (); }