mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-08 11:53:21 +00:00
feat(app): open project menu on right-click (#41013)
This commit is contained in:
parent
b05a0d1fbe
commit
284214c78d
1 changed files with 4 additions and 0 deletions
|
|
@ -475,6 +475,10 @@ function HomeProjectRow(
|
|||
ref={sortable.ref}
|
||||
class="group/project relative flex h-7 min-w-0 items-center rounded-[6px]"
|
||||
classList={{ "z-10": sortable.isDragSource() }}
|
||||
onContextMenu={(event) => {
|
||||
event.preventDefault()
|
||||
props.onSetContextMenuOpen(contextMenuID(), true)
|
||||
}}
|
||||
>
|
||||
<HomeProjectNavButton
|
||||
type="button"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue