diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-16 21:40:48 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-16 21:40:48 +0900 |
| commit | cda3635d97fbacb3fda2f36cd501b962f4fda410 (patch) | |
| tree | 90e35be7fcb2325aa7866351f312490121ab8082 /src/client/app/mobile/views/components | |
| parent | 8.42.0 (diff) | |
| download | misskey-cda3635d97fbacb3fda2f36cd501b962f4fda410.tar.gz misskey-cda3635d97fbacb3fda2f36cd501b962f4fda410.tar.bz2 misskey-cda3635d97fbacb3fda2f36cd501b962f4fda410.zip | |
enable-animations --> reduce-motion
Diffstat (limited to 'src/client/app/mobile/views/components')
| -rw-r--r-- | src/client/app/mobile/views/components/notes.vue | 2 | ||||
| -rw-r--r-- | src/client/app/mobile/views/components/notifications.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue index f2ad93bebf..401df3ae5b 100644 --- a/src/client/app/mobile/views/components/notes.vue +++ b/src/client/app/mobile/views/components/notes.vue @@ -14,7 +14,7 @@ </div> <!-- トランジションを有効にするとなぜかメモリリークする --> - <component :is="$store.state.device.animations ? 'transition-group' : 'div'" name="mk-notes" class="transition" tag="div"> + <component :is="!$store.state.device.reduceMotion ? 'transition-group' : 'div'" name="mk-notes" class="transition" tag="div"> <template v-for="(note, i) in _notes"> <mk-note :note="note" :key="note.id" @update:note="onNoteUpdated(i, $event)"/> <p class="date" :key="note.id + '_date'" v-if="i != notes.length - 1 && note._date != _notes[i + 1]._date"> diff --git a/src/client/app/mobile/views/components/notifications.vue b/src/client/app/mobile/views/components/notifications.vue index 95c85beaca..11ac23f4b1 100644 --- a/src/client/app/mobile/views/components/notifications.vue +++ b/src/client/app/mobile/views/components/notifications.vue @@ -1,7 +1,7 @@ <template> <div class="mk-notifications"> <!-- トランジションを有効にするとなぜかメモリリークする --> - <component :is="$store.state.device.animations ? 'transition-group' : 'div'" name="mk-notifications" class="transition notifications"> + <component :is="!$store.state.device.reduceMotion ? 'transition-group' : 'div'" name="mk-notifications" class="transition notifications"> <template v-for="(notification, i) in _notifications"> <mk-notification :notification="notification" :key="notification.id"/> <p class="date" :key="notification.id + '_date'" v-if="i != notifications.length - 1 && notification._date != _notifications[i + 1]._date"> |