Skip to content

Commit

Permalink
feat: SVG.HueRotate ( Fixes #222 )
Browse files Browse the repository at this point in the history
Adding default id
  • Loading branch information
James Brundage committed Jun 16, 2024
1 parent 63dbc86 commit f20ef2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Commands/Filters/SVG.HueRotate.ps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function SVG.HueRotate

begin {
$animationElements = 'animate','set','animateTransform','animateMotion'
$defaultId = 'hueRotate'
}

process {
Expand Down Expand Up @@ -53,7 +54,7 @@ function SVG.HueRotate

# Create the saturation filter (using [feColorMatrix](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix))
$newFilter = SVG.feColorMatrix @feSplat

$filterSplat['Content'] =
# If the content is a filter, add the filter to the content
if ($content.LocalName -eq 'Filter') {
Expand Down

0 comments on commit f20ef2d

Please sign in to comment.