Skip to content

Commit d46d86d

Browse files
authored
voice - replace codicon when hovering over stop button (microsoft#191777)
1 parent 5cc83f7 commit d46d86d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
.monaco-workbench .interactive-input-part .monaco-action-bar .action-label.codicon-loading.codicon-modifier-spin:not(.disabled):hover,
7+
.monaco-workbench .inline-chat .monaco-action-bar .action-label.codicon-loading.codicon-modifier-spin:not(.disabled):hover {
8+
animation: none; /* stop the running voice recording animation for showing another codicon to stop */
9+
}
10+
11+
.monaco-workbench .interactive-input-part .monaco-action-bar .action-label.codicon-loading.codicon-modifier-spin:not(.disabled):hover::before,
12+
.monaco-workbench .inline-chat .monaco-action-bar .action-label.codicon-loading.codicon-modifier-spin:not(.disabled):hover::before {
13+
content: "\eba5"; /* use `stop-circle` icon unicode for hovering over running voice recording */
14+
}

src/vs/workbench/contrib/chat/electron-sandbox/actions/voiceChatActions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6+
import 'vs/css!./media/voiceChatActions';
67
import { Event } from 'vs/base/common/event';
78
import { firstOrDefault } from 'vs/base/common/arrays';
89
import { CancellationTokenSource } from 'vs/base/common/cancellation';

0 commit comments

Comments
 (0)