Skip to content

Commit

Permalink
Fix SVGImageElement
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage authored Aug 22, 2024
1 parent 4b79e75 commit 67b0980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/svgelement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ std::unique_ptr<SVGElement> SVGUseElement::cloneTargetElement(SVGElement* target
}

SVGImageElement::SVGImageElement(Document* document)
: SVGGraphicsElement(document, ElementID::Use)
: SVGGraphicsElement(document, ElementID::Image)
, SVGURIReference(this)
, m_x(PropertyID::X, LengthDirection::Horizontal, LengthNegativeMode::Allow, 0.f, LengthUnits::None)
, m_y(PropertyID::Y, LengthDirection::Vertical, LengthNegativeMode::Allow, 0.f, LengthUnits::None)
Expand Down

0 comments on commit 67b0980

Please sign in to comment.