The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Revert "Stroke settings"

Changes made to libbirdfont/Toolbox.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/Toolbox.vala +++ libbirdfont/Toolbox.vala @@ -418,14 +418,14 @@ pos = 4 * get_scale (); foreach (Expander e in current_set.get_expanders ()) { - if (e.visible) { - e.set_offset (pos); - pos += e.get_content_height () + 4 * get_scale (); - current_set.content_height = pos; - - if (BirdFont.android) { - current_set.content_height *= 1.15; - } + e.set_offset (pos); + + pos += e.get_content_height () + 4 * get_scale (); + + current_set.content_height = pos; + + if (BirdFont.android) { + current_set.content_height *= 1.15; } } @@ -436,10 +436,8 @@ private void draw_expanders (int w, int h, Context cr) { foreach (Expander e in current_set.get_expanders ()) { - if (e.visible) { - e.draw (w, h, cr); - e.draw_content (w, h, cr); - } + e.draw (w, h, cr); + e.draw_content (w, h, cr); } }