commit 3dbb3c853325918e3c165bbdd11dc40601647628
parent 85e51e8e956afdcd4d05765d74f4f5a1a9a5fcba
Author: Hunter
Date: Mon, 5 Aug 2024 00:12:56 -0400
place cursor at beginning when scrolling up/down
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
@@ -632,13 +632,13 @@
if (currentIndex > 0) {
const prevTask = currentIndex === 1 ? currentTask : tasks[currentIndex - 2];
selectAndFocusTask(prevTask);
- placeCursorAtBeginning(currentElement);
}
} else {
if (currentIndex < tasks.length) {
selectAndFocusTask(tasks[currentIndex]);
}
}
+ placeCursorAtBeginning(currentElement);
lastSubtaskDownArrowReleased = false;
}