Skip to content

bug: headers don't respect 'reduce motion' #71

@asleepyskye

Description

@asleepyskye

when the 'reduced motion' accessibility option is on, and the user header or user avatar is an animated image, Discord changes the image source to a static version (seemingly via the Discord CDN) and back to the animated version on hover.
this does not happen with the patched popouts/profiles

it's fairly easy to get the user's accessibility options
const AccessibilityStore = BdApi.Webpack.getModule(BdApi.Webpack.Filters.byStoreName('AccessibilityStore'));

but:

  • we can't rely on the avatar/header URL to have a static version available as not all avatars/headers are from the PK/Discord CDN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions