From 63285721eed534d51b94e3b7411671ddde4069ec Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Fri, 13 Dec 2024 15:25:35 +0100 Subject: [PATCH] =?UTF-8?q?Use=20different=20stop=20icon=20for=20=E2=9D=87?= =?UTF-8?q?=20(#6537)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #6526 --- resources/icons/stop-circle.svg | 1 + resources/icons/stop.svg | 1 - webviews/components/icon.tsx | 2 +- webviews/createPullRequestViewNew/app.tsx | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 resources/icons/stop-circle.svg delete mode 100644 resources/icons/stop.svg diff --git a/resources/icons/stop-circle.svg b/resources/icons/stop-circle.svg new file mode 100644 index 0000000000..4f39984fa2 --- /dev/null +++ b/resources/icons/stop-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/icons/stop.svg b/resources/icons/stop.svg deleted file mode 100644 index 9a63e2191f..0000000000 --- a/resources/icons/stop.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webviews/components/icon.tsx b/webviews/components/icon.tsx index d363122856..20699ff318 100644 --- a/webviews/components/icon.tsx +++ b/webviews/components/icon.tsx @@ -42,4 +42,4 @@ export const labelIcon = ; export const projectIcon = ; export const sparkleIcon = ; -export const stopIcon = ; +export const stopCircleIcon = ; diff --git a/webviews/createPullRequestViewNew/app.tsx b/webviews/createPullRequestViewNew/app.tsx index 912bea0dc3..fa9fd3074d 100644 --- a/webviews/createPullRequestViewNew/app.tsx +++ b/webviews/createPullRequestViewNew/app.tsx @@ -11,7 +11,7 @@ import PullRequestContextNew from '../common/createContextNew'; import { ErrorBoundary } from '../common/errorBoundary'; import { LabelCreate } from '../common/label'; import { ContextDropdown } from '../components/contextDropdown'; -import { assigneeIcon, labelIcon, milestoneIcon, prBaseIcon, prMergeIcon, projectIcon, reviewerIcon, sparkleIcon, stopIcon } from '../components/icon'; +import { assigneeIcon, labelIcon, milestoneIcon, prBaseIcon, prMergeIcon, projectIcon, reviewerIcon, sparkleIcon, stopCircleIcon } from '../components/icon'; import { Avatar } from '../components/user'; type CreateMethod = 'create-draft' | 'create' | 'create-automerge-squash' | 'create-automerge-rebase' | 'create-automerge-merge'; @@ -240,7 +240,7 @@ export function main() { {ctx.createParams.generateTitleAndDescriptionTitle ? isGeneratingTitle ? - {stopIcon} + {stopCircleIcon} : generateTitle()} tabIndex={0}>{sparkleIcon} : null}
A title is required