fix: 让聊天对话中图片的变清晰和抠图按钮始终显示
This commit is contained in:
parent
0ea84c36a6
commit
0d33ca8d85
@ -203,9 +203,9 @@ export function ImagePreview({
|
||||
onClick={() => setIsOpen(true)}
|
||||
/>
|
||||
|
||||
{/* 左上角:变清晰和抠图按钮 */}
|
||||
{/* 左上角:变清晰和抠图按钮 - 始终显示 */}
|
||||
{(onImageEnhance || onImageRmbg) && (
|
||||
<div className="absolute top-2 left-2 flex gap-1.5 opacity-0 transition-opacity group-hover:opacity-100 z-10">
|
||||
<div className="absolute top-2 left-2 flex gap-1.5 z-10">
|
||||
{onImageEnhance && (
|
||||
<button
|
||||
className="rounded-full bg-blue-600/90 hover:bg-blue-700 p-2 text-white transition-colors shadow-lg"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user