From 9071bd030a0564ce387134d5844e777cb535e28f Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 13 Oct 2024 21:31:04 +0800 Subject: feat: add tooltip for GeoLink --- src/dumbyUtils.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dumbyUtils.mjs b/src/dumbyUtils.mjs index a449646..8bd4423 100644 --- a/src/dumbyUtils.mjs +++ b/src/dumbyUtils.mjs @@ -165,6 +165,7 @@ export const createGeoLink = (link) => { // TODO refactor as data attribute link.targets = params.get('id')?.split(',') ?? null link.type = params.get('type') ?? null + link.title = 'Left-Click to move Camera, Middle-Click to clean anchor' link.lines = [] -- cgit v1.2.3-70-g09d2