Skip to content

Commit 9c8282e

Browse files
authored
Merge pull request #668 from klinecharts/feature/#661
fix: fix visible data error
2 parents 5e22d25 + ec4ce3e commit 9c8282e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ export default class StoreImp implements Store {
644644
data: {
645645
prev: this._dataList[i - 1] ?? kLineData,
646646
current: kLineData,
647-
next: this._dataList[i - 1] ?? kLineData
647+
next: this._dataList[i + 1] ?? kLineData
648648
}
649649
})
650650
if (isValid(kLineData)) {

0 commit comments

Comments
 (0)