mirror of
https://github.com/stablyai/orca
synced 2026-04-21 14:17:16 +00:00
Merge 5b5a8f6f08 into 8c2554ab28
This commit is contained in:
commit
6be1f213f7
1 changed files with 10 additions and 0 deletions
|
|
@ -313,6 +313,16 @@ function FileExplorerInner(): React.JSX.Element {
|
|||
setBgMenuPoint({ x: e.clientX, y: e.clientY })
|
||||
setBgMenuOpen(true)
|
||||
}}
|
||||
onDoubleClick={(e) => {
|
||||
if (!worktreePath || inlineInput) {
|
||||
return
|
||||
}
|
||||
const target = e.target as HTMLElement
|
||||
if (target.closest('[data-slot="context-menu-trigger"]')) {
|
||||
return
|
||||
}
|
||||
startNew('file', worktreePath, 0)
|
||||
}}
|
||||
>
|
||||
{isLoading && (
|
||||
<div className="flex items-center justify-center h-full text-[11px] text-muted-foreground">
|
||||
|
|
|
|||
Loading…
Reference in a new issue