From c37b5967649ce5dd21868f26cf99e980b17ca21d Mon Sep 17 00:00:00 2001 From: zihanjian Date: Wed, 25 Jun 2025 16:27:36 +0800 Subject: [PATCH] 1 --- src/app/studio/page.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/studio/page.tsx b/src/app/studio/page.tsx index 290e400..00d0977 100644 --- a/src/app/studio/page.tsx +++ b/src/app/studio/page.tsx @@ -435,6 +435,11 @@ export default function FocusMode() { if (!pixel.isExternal && pixel.key !== 'transparent') { const colorKey = getColorKeyByHex(cellColor, selectedColorSystem); setClickedCellColor({ hex: cellColor, key: colorKey }); + + // 3秒后自动消失 + setTimeout(() => { + setClickedCellColor(null); + }, 3000); } else { setClickedCellColor(null); }