aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-07 17:49:20 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-08 10:28:47 +0800
commit406f4f0e49b146e684b80aeeabd129a0be08681a (patch)
tree954260dd30a9c21c2a45618d9228bca1143836a9 /src
parent4ae0c74edf0c360de00bcacc930268536fe8e510 (diff)
chore: change text content of "add anchor" menu-item
Diffstat (limited to 'src')
-rw-r--r--src/editor.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.mjs b/src/editor.mjs
index c73809f..8e3e62b 100644
--- a/src/editor.mjs
+++ b/src/editor.mjs
@@ -415,7 +415,7 @@ const menuForEditor = (event, menu) => {
415 const map = event.target.closest('.mapclay') 415 const map = event.target.closest('.mapclay')
416 if (map) { 416 if (map) {
417 const item = new menuItem.Item({ 417 const item = new menuItem.Item({
418 text: 'Add Anchor for GeoLinks', 418 text: 'Add Anchor',
419 onclick: () => { 419 onclick: () => {
420 const rect = map.getBoundingClientRect() 420 const rect = map.getBoundingClientRect()
421 const [x, y] = map.renderer 421 const [x, y] = map.renderer