Compare commits

...

2 Commits

Author SHA1 Message Date
Elephant Lumps 7498870ed9 changeset 2025-05-12 12:28:20 -05:00
Elephant Lumps 92a82d97cd disable breaking out of auto scroll 2025-05-12 12:27:24 -05:00
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Disable breaking out of diff auto scroll while it's reworked
+3 -3
View File
@@ -91,9 +91,9 @@ export class DiffViewProvider {
const currentFirstVisibleLine = e.visibleRanges[0]?.start.line || 0
// If the first visible line moved upward, user scrolled up
if (currentFirstVisibleLine < this.lastFirstVisibleLine) {
this.shouldAutoScroll = false
}
// if (currentFirstVisibleLine < this.lastFirstVisibleLine) {
// this.shouldAutoScroll = false
// }
// Always update our tracking variable
this.lastFirstVisibleLine = currentFirstVisibleLine