Add option to reduce motion (#5393)

* Add option to reduce motion

* Use HOC to wrap all Motion calls

* fix case-sensitive issue

* Avoid updating too frequently

* Get rid of unnecessary change to _simple_status.html.haml
This commit is contained in:
Nolan Lawson 2017-10-16 00:36:15 -07:00 committed by Eugen Rochko
parent 981e20b03a
commit fa0be3f834
21 changed files with 61 additions and 13 deletions

View file

@ -39,6 +39,7 @@ en:
otp_attempt: Two-factor code
password: Password
setting_auto_play_gif: Auto-play animated GIFs
setting_reduce_motion: Reduce motion in animations
setting_boost_modal: Show confirmation dialog before boosting
setting_default_privacy: Post privacy
setting_default_sensitive: Always mark media as sensitive

View file

@ -22,6 +22,7 @@ defaults: &defaults
boost_modal: false
delete_modal: true
auto_play_gif: false
reduce_motion: false
system_font_ui: false
noindex: false
theme: 'default'