Skip to content

Commit

Permalink
♻️ Adjust battery shape
Browse files Browse the repository at this point in the history
  • Loading branch information
Aira-Sakuranomiya committed Mar 9, 2024
1 parent 4ddecc6 commit 6048208
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/IconBattery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Transition name="charging">
<path
v-if="charging"
d="M11.9499 17.7303L14.5999 12.7303C14.6832 12.5637 14.6792 12.4013 14.5879 12.2433C14.4959 12.0847 14.3582 12.0053 14.1749 12.0053H12.9999V8.50532C12.9999 8.23865 12.8749 8.07599 12.6249 8.01732C12.3749 7.95932 12.1832 8.04699 12.0499 8.28032L9.39986 13.2803C9.31653 13.447 9.32087 13.6093 9.41287 13.7673C9.5042 13.926 9.64153 14.0053 9.82486 14.0053H10.9999V17.5053C10.9999 17.772 11.1249 17.9343 11.3749 17.9923C11.6249 18.051 11.8165 17.9637 11.9499 17.7303Z"
d="M9.35889 8.49942V14.0204C9.35889 14.3578 9.63493 14.6338 9.97232 14.6338H11.1992V19.0199C11.1992 19.3327 11.6102 19.4431 11.7697 19.1732L14.9534 13.7136C15.1927 13.3026 14.8982 12.7935 14.4259 12.7935H13.0395L14.567 8.71413C14.7203 8.31539 14.4259 7.88599 13.9965 7.88599H9.97232C9.63493 7.88599 9.35889 8.16203 9.35889 8.49942Z"
transform-origin="center"
fill="black"
/>
Expand All @@ -28,7 +28,7 @@
<g mask="url(#mask_battery_charging)">
<path
:opacity="props.value >= 1 ? 1 : 0.3"
d="M9 4C9 2.89543 9.89543 2 11 2H13C14.1046 2 15 2.89543 15 4H16C17.1046 4 18 4.89543 18 6V20C18 21.1046 17.1046 22 16 22H8C6.89543 22 6 21.1046 6 20V6C6 4.89543 6.89543 4 8 4H9Z"
d="M9 4.00004V2.00002L15 2.00002V4.00004H16C17.1046 4.00004 18 4.89547 18 6.00004V20C18 21.1046 17.1046 22 16 22H8C6.89543 22 6 21.1046 6 20V6.00004C6 4.89547 6.89543 4.00004 8 4.00004H9Z"
/>
<mask
id="mask_battery_percent"
Expand All @@ -40,7 +40,7 @@
height="20"
>
<path
d="M9 4C9 2.89543 9.89543 2 11 2H13C14.1046 2 15 2.89543 15 4H16C17.1046 4 18 4.89543 18 6V20C18 21.1046 17.1046 22 16 22H8C6.89543 22 6 21.1046 6 20V6C6 4.89543 6.89543 4 8 4H9Z"
d="M9 4.00004V2.00002L15 2.00002V4.00004H16C17.1046 4.00004 18 4.89547 18 6.00004V20C18 21.1046 17.1046 22 16 22H8C6.89543 22 6 21.1046 6 20V6.00004C6 4.89547 6.89543 4.00004 8 4.00004H9Z"
/>
</mask>
<g mask="url(#mask_battery_percent)">
Expand Down

1 comment on commit 6048208

@otomad
Copy link
Member

@otomad otomad commented on 6048208 Mar 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该移动到 components/Logo/Battery 。

Please sign in to comment.