截图模块优化调整
This commit is contained in:
1 parent
f51a7f894e
commit
c913379e2b
19 files changed
+1744
-300
No files matched your search
@@ -394,11 +394,6 @@ pub async fn tray_menu_action(
|
||||
let _ = app.emit("tray:new-download", ());
|
||||
hide_tray_menu(&app);
|
||||
}
|
||||
"screenshot_region" => {
|
||||
hide_tray_menu(&app);
|
||||
// 主窗口(隐藏运行中)接收事件后调用 screenshotStore.startCapture('region')
|
||||
let _ = app.emit("tray:start-screenshot", "region");
|
||||
}
|
||||
"settings" => {
|
||||
if let Some(window) = app.get_webview_window("main") {
|
||||
window.show().ok();
|
||||
|
||||
Reference in new issue
Block a user