Skip to content

Commit fa33ede

Browse files
authored
Merge pull request microsoft#183979 from microsoft/roblou/prospective-catshark
Two chat fixes
2 parents 0645237 + b272d45 commit fa33ede

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ export function registerChatCodeBlockActions() {
321321
mac: {
322322
primary: KeyMod.WinCtrl | KeyCode.Enter,
323323
},
324-
weight: KeybindingWeight.EditorContrib
324+
weight: KeybindingWeight.EditorContrib,
325+
when: CONTEXT_IN_CHAT_SESSION
325326
}
326327
});
327328
}

src/vs/workbench/contrib/chat/browser/media/chat.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@
239239
}
240240

241241
.interactive-item-container .interactive-result-editor-wrapper:hover .monaco-toolbar,
242+
.interactive-item-container .interactive-result-editor-wrapper .monaco-toolbar:focus-within,
242243
.interactive-item-container .interactive-result-editor-wrapper.focused .monaco-toolbar {
243244
display: initial;
244245
border-radius: 2px;

0 commit comments

Comments
 (0)