Commit bf11107b authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

use standard "d" attribute instead of "data" for setting svg data

parent 890c10c5
...@@ -4466,7 +4466,7 @@ static void draw_setup(void) ...@@ -4466,7 +4466,7 @@ static void draw_setup(void)
class_addmethod(svg_class, (t_method)svg_setattr, class_addmethod(svg_class, (t_method)svg_setattr,
gensym("cy"), A_GIMME, 0); gensym("cy"), A_GIMME, 0);
class_addmethod(svg_class, (t_method)svg_data, class_addmethod(svg_class, (t_method)svg_data,
gensym("data"), A_GIMME, 0); gensym("d"), A_GIMME, 0);
//class_addmethod(svg_class, (t_method)svg_drag, //class_addmethod(svg_class, (t_method)svg_drag,
// gensym("drag"), A_GIMME, 0); // gensym("drag"), A_GIMME, 0);
class_addmethod(svg_class, (t_method)svg_event, class_addmethod(svg_class, (t_method)svg_event,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment