diff --git a/src/renderer/components/PlayIcon.tsx b/src/renderer/components/PlayIcon.tsx index a79509042..bfa9b5f2d 100644 --- a/src/renderer/components/PlayIcon.tsx +++ b/src/renderer/components/PlayIcon.tsx @@ -5,7 +5,12 @@ import React from "react"; import { withFont } from "@/styles/withFont"; -export const PlayIcon: React.FC<{ className?: string }> = ({ className, children }) => { +export const PlayIcon: React.FC<{ className?: string; fillPercent?: number }> = ({ + fillPercent = 1, + className, + children, +}) => { + const offset = `${(fillPercent * 100).toFixed(2)}%`; return (