From 6183a9787aa68ece6f8528bb0dce3b11c83b9f19 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 21 Jan 2018 14:39:11 -0800 Subject: [PATCH] tweak timeline fade effect --- routes/_components/Timeline.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/routes/_components/Timeline.html b/routes/_components/Timeline.html index 7b7a5f3..1ba903f 100644 --- a/routes/_components/Timeline.html +++ b/routes/_components/Timeline.html @@ -29,14 +29,14 @@ export default { 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() this.addStatuses(statuses) - this.set({initialized: true}) - this.fire('initialized') + requestAnimationFrame(() => { + requestAnimationFrame((() => { + this.set({initialized: true}) + this.fire('initialized') + })) + }) }, data: () => ({ StatusListItem: StatusListItem,