lib/ctioga2/graphics/styles/arrows.rb in ctioga2-0.10.1 vs lib/ctioga2/graphics/styles/arrows.rb in ctioga2-0.11

- old
+ new

@@ -39,9 +39,14 @@ dict = self.to_hash dict.rename_key('width', 'line_width') dict.rename_key('style', 'line_style') dict['head'] = [x2,y2] dict['tail'] = [x1,y1] + for w in %w(head tail) + if dict["#{w}_marker"] == false + dict["#{w}_marker"] = "None" + end + end t.show_arrow(dict) end end end