feat(editor): show complete table DDL on hover
This commit is contained in:
1 parent
b7e3b2ee57
commit
2cbbaaef4c
6 files changed
+1166
-21
No files matched your search
@@ -24,7 +24,7 @@ const props = defineProps<{
|
||||
items: ContextMenuItemsSource;
|
||||
}>();
|
||||
|
||||
defineEmits<{
|
||||
const emit = defineEmits<{
|
||||
close: [];
|
||||
}>();
|
||||
|
||||
@@ -52,9 +52,10 @@ function close() {
|
||||
subAnchorRect = null;
|
||||
activeItems.value = [];
|
||||
show.value = false;
|
||||
emit("close");
|
||||
}
|
||||
|
||||
defineExpose({ close });
|
||||
defineExpose({ close, menuRef, subRef });
|
||||
|
||||
function onPointerDownOutside(e: PointerEvent) {
|
||||
// Only respond to primary (left) button presses. This avoids a macOS
|
||||
|
||||
Reference in new issue
Block a user