Skip to content

Commit

Permalink
chore: correct comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SegaraRai committed Jun 15, 2024
1 parent 7929c86 commit 7b53414
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion vite-plugins/iconSymbolsPlugin/expandClippedViewBox.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { DOMParser, XMLSerializer } from "@xmldom/xmldom";

/**
* Adjusts the animations of the meteocons icon SVG.
* Adjusts the viewBox of the meteocons icon SVG. \
* Some animated icons such as `i-meteocons-overcast-fill` are clipped, so we need to expand the viewBox to show the full icon.
* @param source the SVG source of meteocons, without the `<svg>` tag
* @returns the fixed SVG source
*/
Expand Down
3 changes: 2 additions & 1 deletion vite-plugins/iconSymbolsPlugin/repeatSVGAnimations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { parseCSSDuration, parseCSSNumber, formatFloat } from "./utils";
const ANIMATION_WAIT_SECS = 4;

/**
* Adjusts the animations of the meteocons icon SVG.
* Adjusts the animations of the meteocons icon SVG. \
* Some animations in the icons such as `i-meteocons-rain-fill` are one-time only, so we need to repeat them.
* @param source the SVG source of meteocons, without the `<svg>` tag
* @returns the fixed SVG source
*/
Expand Down

0 comments on commit 7b53414

Please sign in to comment.