Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Site: the folder highlight stays on the last folder you pointed at

Eric Brownrout116ff60b3362
diff --git a/site/public/marketing/features.mjs b/site/public/marketing/features.mjs
index 50c7a844..528d6ad2 100644
--- a/site/public/marketing/features.mjs
+++ b/site/public/marketing/features.mjs
@@ -79,11 +79,10 @@ list.addEventListener('pointerover', (event) => {
if (row && event.pointerType !== 'touch' && matchMedia('(any-hover: hover)').matches)
list.style.setProperty('--hover-row', Array.from(list.children).indexOf(row))
})
-for (const event of ['pointerleave', 'pointercancel', 'pointerdown']) {
- list.addEventListener(event, (e) => {
- if (event !== 'pointerdown' || e.pointerType === 'touch') list.style.removeProperty('--hover-row')
- })
-}
+// The highlight stays on the last folder the pointer was over.
+list.addEventListener('pointerdown', (e) => {
+ if (e.pointerType === 'touch') list.style.removeProperty('--hover-row')
+})
const canvas = document.querySelector('.language-dots')
const dots = languageDots(canvas)