From 6d8d77ee8fe40298b888eef32a70ddedf4b58670 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Nov 2025 14:24:54 +0000 Subject: [PATCH] Fix swapped incoming/outgoing icons in call hierarchy view Swap the icons so they show the current state instead of target state. - When viewing incoming calls: show incoming icon (with "Show Outgoing Calls" title) - When viewing outgoing calls: show outgoing icon (with "Show Incoming Calls" title) This matches VS Code's convention where toggle buttons display the current state icon with the action title being the target state. Fixes the issue where the icon showed the opposite of what was being displayed. Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com> --- extensions/references-view/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/references-view/package.json b/extensions/references-view/package.json index 62c9e29e0c6..5f2714589c7 100644 --- a/extensions/references-view/package.json +++ b/extensions/references-view/package.json @@ -129,13 +129,13 @@ "command": "references-view.showOutgoingCalls", "title": "%cmd.references-view.showOutgoingCalls%", "category": "Calls", - "icon": "$(call-outgoing)" + "icon": "$(call-incoming)" }, { "command": "references-view.showIncomingCalls", "title": "%cmd.references-view.showIncomingCalls%", "category": "Calls", - "icon": "$(call-incoming)" + "icon": "$(call-outgoing)" }, { "command": "references-view.removeCallItem",