feat(downloads): animate priority reordering
Rename the package disclosure option to a general animations switch and use it for both disclosure and priority-order motion. Keep previously visible virtual rows mounted during reorders, animate measured start and target positions for 1.5 seconds, and cancel all motion immediately when the setting is disabled. Extend the isolated renderer fixture so enabled and disabled behavior can be measured without touching user download state.
This commit is contained in:
@@ -302,8 +302,8 @@
|
||||
transition: height 1500ms cubic-bezier(0.22, 1, 0.36, 1), transform 1500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 1500ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
|
||||
.downloads-table-body.is-disclosure-motion-disabled .downloads-virtual-spacer,
|
||||
.downloads-table-body.is-disclosure-motion-disabled .downloads-virtual-row {
|
||||
.downloads-table-body.is-download-motion-disabled .downloads-virtual-spacer,
|
||||
.downloads-table-body.is-download-motion-disabled .downloads-virtual-row {
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user