更新代码格式
This commit is contained in:
@@ -68,10 +68,9 @@ pub fn get_menu() -> Menu {
|
|||||||
// .add_item(instructions)
|
// .add_item(instructions)
|
||||||
// .add_item(about);
|
// .add_item(about);
|
||||||
// let help_menu = Submenu::new("Help", help);
|
// let help_menu = Submenu::new("Help", help);
|
||||||
let menu = Menu::new()
|
Menu::new()
|
||||||
.add_submenu(first_menu)
|
.add_submenu(first_menu)
|
||||||
.add_submenu(hot_key_menu);
|
.add_submenu(hot_key_menu)
|
||||||
menu
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_zoom(webview: PlatformWebview, zoom_value: f64) {
|
pub fn set_zoom(webview: PlatformWebview, zoom_value: f64) {
|
||||||
|
|||||||
Reference in New Issue
Block a user