Commit 3c1dd60e authored by Brian C. Barnes's avatar Brian C. Barnes
Browse files

Fixed ConvertFrom for orient and aspect ratio

parent c94f649b
......@@ -87,11 +87,6 @@ namespace Svg.DataTypes
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
if (destinationType == typeof(string))
{
return ((SvgUnit)value).ToString();
}
return base.ConvertTo(context, culture, value, destinationType);
}
}
......
......@@ -52,11 +52,6 @@ namespace Svg.DataTypes
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
if (destinationType == typeof(string))
{
return ((SvgUnit)value).ToString();
}
return base.ConvertTo(context, culture, value, destinationType);
}
}
......
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