Skip to content

Commit

Permalink
chore: click prevent default
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Feb 28, 2024
1 parent c700657 commit 28dacc9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions ui/src/builder/BuilderApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ function handleRendererClick(ev: PointerEvent): void {
const targetId = targetEl.dataset.streamsyncId;
const targetInstancePath = targetEl.dataset.streamsyncInstancePath;
if (targetId !== ssbm.getSelectedId()) {
ev.preventDefault();
ev.stopPropagation();
ssbm.setSelection(targetId, targetInstancePath);
}
Expand Down
3 changes: 0 additions & 3 deletions ui/src/core_components/content/CoreLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,4 @@ const displayText = computed(() => {
.CoreLink a {
color: var(--primaryTextColor);
}
.CoreLink.beingEdited:not(.selected) a {
pointer-events: none;
}
</style>

0 comments on commit 28dacc9

Please sign in to comment.