The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Remove objects in sublayers

Changes made to libsvgbird/Layer.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libsvgbird/Layer.vala +++ libsvgbird/Layer.vala @@ -115,6 +115,14 @@ public void remove (Object o) { objects.remove (o); + + foreach (Object object in objects) { + if (object is Layer) { + Layer sublayer = (Layer) object; + sublayer.remove (o);; + } + } + update_boundaries (Matrix.identity ()); }