refactoring following comment on pull request
This commit is contained in:
parent
0882f0e668
commit
79af8fdbc9
4 changed files with 17 additions and 18 deletions
|
@ -241,10 +241,9 @@ public:
|
||||||
{
|
{
|
||||||
set_attr( sym_node, "fill-opacity", sym.get_opacity() );
|
set_attr( sym_node, "fill-opacity", sym.get_opacity() );
|
||||||
}
|
}
|
||||||
if ( sym.height() != dfl.height() || explicit_defaults_ )
|
|
||||||
{
|
set_attr( sym_node, "height", to_expression_string(*sym.height()) );
|
||||||
set_attr( sym_node, "height", sym.height() );
|
|
||||||
}
|
|
||||||
add_metawriter_attributes(sym_node, sym);
|
add_metawriter_attributes(sym_node, sym);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue