Skip to content

Commit

Permalink
hide built in context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostflyby committed Feb 25, 2024
1 parent d3fdd4f commit 78df686
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,10 @@ const observer = new MutationObserver(() => {
observer.observe(document.body, {
childList: true
})

const style = document.createElement('style')
style.textContent = `
.q-context-menu__mixed-type {
display: none !important;
}`
document.head.appendChild(style)

0 comments on commit 78df686

Please sign in to comment.