🐛 (note focus) note is now full displayed on link pres…

This commit is contained in:
Julien Calixte
2021-03-21 12:02:54 +01:00
parent b2721763ac
commit bd540ac4b7

View File

@@ -21,7 +21,7 @@ export const useFocus = () => {
const top = (index + 1) * (element?.clientHeight ?? height.value) const top = (index + 1) * (element?.clientHeight ?? height.value)
scrollToNote(top) scrollToNote(top)
} else { } else {
const left = index * NOTE_WIDTH const left = (index + 1) * NOTE_WIDTH
scrollToNote(left) scrollToNote(left)
} }
}) })