🐛 (note focus) note is now full displayed on link pres…
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user