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);
|
handleUpdateInstalled(entry, reason);
|
||||||
}
|
}
|
||||||
filterAndAppend({entry}).then(sorter.update);
|
filterAndAppend({entry}).then(sorter.update);
|
||||||
if (!entry.matches('.hidden') && reason !== 'import' && !$('#stylus-embedded-options')) {
|
if (!entry.matches('.hidden') && reason !== 'import' && reason !== 'sync') {
|
||||||
animateElement(entry);
|
animateElement(entry);
|
||||||
requestAnimationFrame(() => scrollElementIntoView(entry));
|
requestAnimationFrame(() => scrollElementIntoView(entry));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ setupRadioButtons();
|
||||||
enforceInputRange($('#popupWidth'));
|
enforceInputRange($('#popupWidth'));
|
||||||
setTimeout(splitLongTooltips);
|
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) {
|
if (!FIREFOX && CHROME >= 3809 && CHROME < 4044) {
|
||||||
const dropboxOption = $('option[value="dropbox"]');
|
const dropboxOption = $('option[value="dropbox"]');
|
||||||
dropboxOption.disabled = true;
|
dropboxOption.disabled = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user