Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
0 offset of context menu, fixes #3157
zadam7bb9d3324561
diff --git a/src/public/app/services/context_menu.js b/src/public/app/services/context_menu.jsindex 806efd188a..d2256962bf 100644--- a/src/public/app/services/context_menu.js+++ b/src/public/app/services/context_menu.js@@ -27,7 +27,7 @@ class ContextMenu {// in such case we'll position it above click coordinates so it will fit into clientconst CONTEXT_MENU_PADDING = 5; // How many pixels to pad context menu from edge of screen- const CONTEXT_MENU_OFFSET = 10; // How many pixels to offset context menu by relative to cursor+ const CONTEXT_MENU_OFFSET = 0; // How many pixels to offset context menu by relative to cursor, see #3157const clientHeight = document.documentElement.clientHeight;const clientWidth = document.documentElement.clientWidth;