Fix: TLを遡った時に抜けがある時がある (v10) (#4629)
* Update the cursor when the timeline is updated * fix releaseQueue
This commit is contained in:
		@@ -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() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user