Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5aa802e960 |
4
app.py
4
app.py
@@ -64,9 +64,9 @@ def list_images():
|
||||
|
||||
if __name__ == '__main__':
|
||||
print("=" * 50)
|
||||
print("图片编辑器 - Image Editor v1.2.0")
|
||||
print("图片编辑器 - Image Editor v1.2.1")
|
||||
print("=" * 50)
|
||||
print("右侧面板实时配置,操作更流畅")
|
||||
print(f"访问地址: http://localhost:19018")
|
||||
print("=" * 50)
|
||||
app.run(host='0.0.0.0', port=19018, debug=True)
|
||||
app.run(host='0.0.0.0', port=19018, debug=True)=True)
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
// 监听合并面板渲染
|
||||
|
||||
Reference in New Issue
Block a user