Skip to content

Commit af75b8d

Browse files
authored
thats a quite silly error
1 parent e928b43 commit af75b8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/addons/addons/editor-animations/userscript.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export default async function({ addon }) {
1212
const addonKey = "addonAnimations-";
1313
const cubicAnimation = "cubic-bezier(0.63, 0.32, 0.08, 0.95)";
1414

15+
let needsInit = true, animateModals = true, animateLibraries = true, animateButtons = true, animationSpeed = 1;
16+
let patchedBody = false, sbPatched = false, sbEverPatched = false, listenerAttached = false;
17+
1518
const styles = `
1619
/* Top Bar Items */
1720
.${addonKey}top-bar-scaler {
@@ -109,9 +112,6 @@ export default async function({ addon }) {
109112
animationEnabled = !e.matches;
110113
});
111114

112-
let needsInit = true, animateModals = true, animateLibraries = true, animateButtons = true, animationSpeed = 1;
113-
let patchedBody = false, sbPatched = false, sbEverPatched = false, listenerAttached = false;
114-
115115
function requestAddonState() {
116116
animateModals = addon.settings.get("animateModals");
117117
animateLibraries = addon.settings.get("animateLibraries");

0 commit comments

Comments
 (0)