mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
This reverts commit e09810bfff
.
This commit is contained in:
parent
8c2e029c4e
commit
0dfb591ac4
@ -19,7 +19,6 @@
|
|||||||
import { VirtualBranchService } from '$lib/vbranches/virtualBranch';
|
import { VirtualBranchService } from '$lib/vbranches/virtualBranch';
|
||||||
import { onDestroy, onMount, setContext } from 'svelte';
|
import { onDestroy, onMount, setContext } from 'svelte';
|
||||||
import type { LayoutData } from './$types';
|
import type { LayoutData } from './$types';
|
||||||
import { goto } from '$app/navigation';
|
|
||||||
|
|
||||||
export let data: LayoutData;
|
export let data: LayoutData;
|
||||||
|
|
||||||
@ -78,9 +77,6 @@
|
|||||||
const handleKeyDown = createKeybind({
|
const handleKeyDown = createKeybind({
|
||||||
'$mod+Shift+H': () => {
|
'$mod+Shift+H': () => {
|
||||||
$showHistoryView = !$showHistoryView;
|
$showHistoryView = !$showHistoryView;
|
||||||
},
|
|
||||||
'$mod+,': () => {
|
|
||||||
goto(`/${projectId}/settings`);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -154,9 +154,8 @@ pub fn build(_package_info: &PackageInfo) -> Menu {
|
|||||||
));
|
));
|
||||||
|
|
||||||
project_menu = project_menu.add_native_item(MenuItem::Separator);
|
project_menu = project_menu.add_native_item(MenuItem::Separator);
|
||||||
project_menu = project_menu.add_item(
|
project_menu =
|
||||||
CustomMenuItem::new("project/settings", "Project Settings").accelerator("CmdOrCtrl+,"),
|
project_menu.add_item(CustomMenuItem::new("project/settings", "Project Settings"));
|
||||||
);
|
|
||||||
menu = menu.add_submenu(Submenu::new("Project", project_menu));
|
menu = menu.add_submenu(Submenu::new("Project", project_menu));
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
|
Loading…
Reference in New Issue
Block a user