about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-04-07 09:20:11 -0400
committerGitHub <noreply@github.com>2017-04-07 09:20:11 -0400
commitcd2310b93cb8feb84435157455743aec39b86d80 (patch)
treef9bc1247eb86883a435e858ba39fef565f182827 /src/rustllvm/PassWrapper.cpp
parent72308b1c23c3c0a00ab68d50f544e3761fbca024 (diff)
parent8a1d2a3a5a4ec0288c72a1b68864c8ac8a3074e4 (diff)
downloadrust-cd2310b93cb8feb84435157455743aec39b86d80.tar.gz
rust-cd2310b93cb8feb84435157455743aec39b86d80.zip
Rollup merge of #41131 - euclio:collapse-animation, r=GuillaumeGomez
rustdoc: collapse docblock before showing label

The animation for collapsing descriptions is currently pretty jarring, as the label starts fading in as the description is collapsing. This causes the description to jump down a line (and sometimes change indentation) while animating.

This PR modifies this behavior to collapse the block entirely before starting to fade in the collapse button label.

While this PR works well for descriptions of structs, traits, etc., it still does not look ideal for attributes. I'd appreciate any suggestions for improving that animation. Perhaps we want to optimize for the single-attribute case, and try not to collapse the attribute list entirely before fading in the label?
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions