v1.2.1: 操作后保持右侧面板显示,方便后续配置

This commit is contained in:
2026-04-21 11:43:38 +08:00
parent 7544e47ed3
commit 5aa802e960
2 changed files with 6 additions and 4 deletions

View File

@@ -421,7 +421,10 @@
<p class="text-xs text-gray-500">点击"开始选择"后,在画布上拖动选择区域</p>
</div>
`,
actions: `<button onclick="startHoleSelection()" class="px-4 py-2 bg-blue-500 text-white rounded-lg w-full">开始选择</button>`
actions: `
<button onclick="startHoleSelection()" class="px-4 py-2 bg-blue-500 text-white rounded-lg w-full mb-2">开始选择</button>
<button onclick="closePanel()" class="px-4 py-2 bg-gray-200 rounded-lg w-full">关闭面板</button>
`
};
case 'circle':
@@ -1245,7 +1248,6 @@
document.getElementById('historyList').innerHTML = '<span class="text-gray-400 text-xs">暂无操作</span>';
showEmptyHint();
document.getElementById('splitResults').classList.add('hidden');
closePanel();
}
// 监听合并面板渲染