Skip to content

Commit

Permalink
fix: fix applyNewData error
Browse files Browse the repository at this point in the history
  • Loading branch information
liihuu committed Feb 19, 2025
1 parent fc76da8 commit 9de11a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ export default class StoreImp implements Store {
case LoadDataType.Init: {
this.clearData()
this._dataList = data
this._loadDataMore.backward = more?.forward ?? false
this._loadDataMore.backward = more?.backward ?? false
this._loadDataMore.forward = more?.forward ?? false
this._classifyTimeWeightTicks(this._dataList)
this.setOffsetRightDistance(this._offsetRightDistance)
Expand Down

1 comment on commit 9de11a5

@liihuu
Copy link
Member Author

@liihuu liihuu commented on 9de11a5 Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.