Kill sync animations entirely, add ref
This commit is contained in:
parent
64d20c99de
commit
2fc392a155
|
@ -548,7 +548,7 @@ function handleUpdate(style, {reason, method} = {}) {
|
|||
handleUpdateInstalled(entry, reason);
|
||||
}
|
||||
filterAndAppend({entry}).then(sorter.update);
|
||||
if (!entry.matches('.hidden') && reason !== 'import' && !$('#stylus-embedded-options')) {
|
||||
if (!entry.matches('.hidden') && reason !== 'import' && reason !== 'sync') {
|
||||
animateElement(entry);
|
||||
requestAnimationFrame(() => scrollElementIntoView(entry));
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ setupRadioButtons();
|
|||
enforceInputRange($('#popupWidth'));
|
||||
setTimeout(splitLongTooltips);
|
||||
|
||||
// TODO: add max version to re-enable once crbug.com/996859 is resolved
|
||||
// https://github.com/openstyles/stylus/issues/822
|
||||
if (!FIREFOX && CHROME >= 3809 && CHROME < 4044) {
|
||||
const dropboxOption = $('option[value="dropbox"]');
|
||||
dropboxOption.disabled = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user