1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-14 22:59:35 +09:00

Fix: TLを遡った時に抜けがある時がある (v10) (#4629)

* Update the cursor when the timeline is updated

* fix releaseQueue
This commit is contained in:
MeiMei 2019-04-08 15:18:44 +09:00 committed by syuilo
parent fceebf7388
commit 82af9320c0
3 changed files with 6 additions and 0 deletions

View File

@ -157,6 +157,7 @@ export default Vue.extend({
// 稿
if (this.notes.length >= displayLimit) {
this.notes = this.notes.slice(0, displayLimit);
this.cursor = this.notes[this.notes.length - 1].id
}
} else {
this.queue.push(note);
@ -165,6 +166,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {

View File

@ -157,6 +157,7 @@ export default Vue.extend({
// 稿
if (this.notes.length >= displayLimit) {
this.notes = this.notes.slice(0, displayLimit);
this.cursor = this.notes[this.notes.length - 1].id
}
} else {
this.queue.push(note);
@ -165,6 +166,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {

View File

@ -151,6 +151,7 @@ export default Vue.extend({
// 稿
if (this.notes.length >= displayLimit) {
this.notes = this.notes.slice(0, displayLimit);
this.cursor = this.notes[this.notes.length - 1].id
}
} else {
this.queue.push(note);
@ -159,6 +160,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {