forked from Archives/Athou_commafeed
disable context menu on shift + right click (#1052)
This commit is contained in:
@@ -62,6 +62,8 @@ export function FeedEntries() {
|
||||
|
||||
const contextMenu = useContextMenu()
|
||||
const headerRightClicked = (entry: ExpendableEntry, event: React.MouseEvent) => {
|
||||
if (event.shiftKey) return
|
||||
|
||||
event.preventDefault()
|
||||
contextMenu.show({
|
||||
id: Constants.dom.entryContextMenuId(entry),
|
||||
|
||||
Reference in New Issue
Block a user