Skip to content

Commit

Permalink
Disabled context menu on node palette and toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
newcat committed Feb 8, 2024
1 parent fb0df76 commit 435e6b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/renderer-vue/src/nodepalette/NodePalette.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="baklava-node-palette">
<div class="baklava-node-palette" @contextmenu.stop.prevent="">
<section v-for="c in categories" :key="c.name">
<h1 v-if="c.name !== 'default'">
{{ c.name }}
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer-vue/src/toolbar/Toolbar.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="baklava-toolbar">
<div class="baklava-toolbar" @contextmenu.stop.prevent="">
<toolbar-button v-for="c in commands" :key="c.command" :command="c.command" :title="c.title" :icon="c.icon" />

<template v-if="isSubgraph">
Expand Down

0 comments on commit 435e6b7

Please sign in to comment.