tweak timeline fade effect
This commit is contained in:
parent
75d78d44a2
commit
6183a9787a
|
@ -29,14 +29,14 @@
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
async oncreate() {
|
async oncreate() {
|
||||||
let instanceName = this.store.get('currentInstance')
|
|
||||||
let instanceData = this.store.get('currentInstanceData')
|
|
||||||
let online = this.get('online')
|
|
||||||
let timeline = this.get('timeline')
|
|
||||||
let statuses = await this.fetchStatusesAndPossiblyFallBack()
|
let statuses = await this.fetchStatusesAndPossiblyFallBack()
|
||||||
this.addStatuses(statuses)
|
this.addStatuses(statuses)
|
||||||
this.set({initialized: true})
|
requestAnimationFrame(() => {
|
||||||
this.fire('initialized')
|
requestAnimationFrame((() => {
|
||||||
|
this.set({initialized: true})
|
||||||
|
this.fire('initialized')
|
||||||
|
}))
|
||||||
|
})
|
||||||
},
|
},
|
||||||
data: () => ({
|
data: () => ({
|
||||||
StatusListItem: StatusListItem,
|
StatusListItem: StatusListItem,
|
||||||
|
|
Loading…
Reference in a new issue