Skip to content

Commit f49d8bc

Browse files
authored
Allow queueing images (#6414)
1 parent 8f7ac57 commit f49d8bc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,10 +1133,10 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11331133

11341134
{!inputValue && !isEditMode && (
11351135
<div
1136-
className="absolute left-2 z-30 pr-9 flex items-center h-8"
1136+
className="absolute left-2 z-30 pr-9 flex items-center h-8 font-vscode-font-family text-vscode-editor-font-size leading-vscode-editor-line-height"
11371137
style={{
11381138
bottom: "0.25rem",
1139-
color: "var(--vscode-tab-inactiveForeground)",
1139+
color: "color-mix(in oklab, var(--vscode-input-foreground) 50%, transparent)",
11401140
userSelect: "none",
11411141
pointerEvents: "none",
11421142
}}>

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
811811

812812
const selectImages = useCallback(() => vscode.postMessage({ type: "selectImages" }), [])
813813

814-
const shouldDisableImages =
815-
!model?.supportsImages || sendingDisabled || selectedImages.length >= MAX_IMAGES_PER_MESSAGE
814+
const shouldDisableImages = !model?.supportsImages || selectedImages.length >= MAX_IMAGES_PER_MESSAGE
816815

817816
const handleMessage = useCallback(
818817
(e: MessageEvent) => {

0 commit comments

Comments
 (0)