Commit 870ce5c
remove outline stroke for filled paths
Changed files (2)
Diff
@@ -85,8 +85,17 @@ class OverView : FontDisplay { MainWindow.get_glyph_canvas ().set_current_glyph (g); + g.close_path (); g.default_zoom (); z.store_current_view ();++ g.clear_active_paths ();++ foreach (Path p in g.path_list) {+ p.set_color (0, 0, 0, 1);+ p.set_selected (false);+ }+ } }); @@ -100,18 +100,20 @@ class Path { cr.new_path (); // draw lines- foreach (EditPoint e in ep) {- if (n != null) {- en = (!) n;- draw_next (e, en, cr);+ if (is_editable ()) {+ foreach (EditPoint e in ep) {+ if (n != null) {+ en = (!) n;+ draw_next (e, en, cr);+ }+ + n = e; }- - n = e; } // close path- if (!is_open () && ep.length () >= 2) {- en = (!)n;+ if (!is_open () && ep.length () >= 2 && n != null) {+ en = (!) n; em = ep.first ().data; draw_next (em, en, cr);