Skip to content

Commit d535539

Browse files
committed
🐛 修复对齐面板磁铁图标显示问题
1 parent 672264b commit d535539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/pages/_popup_panel/_align_panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export default function AlignNodePanel() {
186186
/>
187187
<ToolbarItem
188188
description={isEnableDragAutoAlign ? "拖动吸附对齐:开启" : "拖动吸附对齐:关闭"}
189-
icon={<Magnet className={cn(isEnableDragAutoAlign && "scale-50", "transition-transform")} />}
189+
icon={<Magnet className={cn(!isEnableDragAutoAlign && "text-panel-details-text", "transition-transform")} />}
190190
handleFunction={async () => {
191191
Settings.set("enableDragAutoAlign", !(await Settings.get("enableDragAutoAlign")));
192192
}}

0 commit comments

Comments
 (0)