From 74dbe60ccf3c9318fc6368e57ef367a761517227 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Thu, 1 Jun 2023 14:56:29 +0900 Subject: [PATCH] =?UTF-8?q?enhance(client):=20=E3=82=B5=E3=83=BC=E3=83=90?= =?UTF-8?q?=E3=83=BC=E3=83=A1=E3=83=88=E3=83=AA=E3=82=AF=E3=82=B9=E3=82=A6?= =?UTF-8?q?=E3=82=A3=E3=82=B8=E3=82=A7=E3=83=83=E3=83=88=E3=81=AE=E5=86=86?= =?UTF-8?q?=E3=82=B0=E3=83=A9=E3=83=95=E3=83=87=E3=82=B6=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=81=AE=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG_CHERRYPICK.md | 1 + packages/frontend/src/widgets/server-metric/pie.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG_CHERRYPICK.md b/CHANGELOG_CHERRYPICK.md index 1771045747..4fb6d4755b 100644 --- a/CHANGELOG_CHERRYPICK.md +++ b/CHANGELOG_CHERRYPICK.md @@ -52,6 +52,7 @@ - 노트 작성 폼의 디자인 개선 - 헤더에 뒤로 가기 버튼 추가 - 업데이트 팝업 개선 (Misskey와 CherryPick의 변경 사항을 직관적으로 볼 수 있도록) +- 서버 통계 위젯의 원 그래프 디자인 개선 - Fix: (Friendly) 위젯 영역에 safe-area-inset-bottom이 적용되지 않음 - Fix: (Friendly) 플로팅 메뉴를 길게 눌렀을 때 프로필 이미지를 드래그 할 수 있는 문제 - Fix: 위젯 편집 시 헤더 이외의 영역을 눌렀을 때 위젯 설정이 뜨는 문제 diff --git a/packages/frontend/src/widgets/server-metric/pie.vue b/packages/frontend/src/widgets/server-metric/pie.vue index 398815a6ae..321d2e3ac3 100644 --- a/packages/frontend/src/widgets/server-metric/pie.vue +++ b/packages/frontend/src/widgets/server-metric/pie.vue @@ -15,6 +15,7 @@ :stroke-dashoffset="strokeDashoffset" fill="none" stroke-width="0.1" + :class="$style.circle" :stroke="color" /> {{ (value * 100).toFixed(0) }}% @@ -44,6 +45,7 @@ const strokeDashoffset = $computed(() => (1 - props.value) * (Math.PI * (r * 2)) transform-origin: center; transform: rotate(-90deg); transition: stroke-dashoffset 0.5s ease; + stroke-linecap: round; } .text {