mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
fix: settingsPopup not correctly opening when animations are disabled
This commit is contained in:
+2
-1
@@ -1334,11 +1334,12 @@ export function setupSettingsButton() {
|
|||||||
extensionPopup!.style.transform = `scale(${progress})`
|
extensionPopup!.style.transform = `scale(${progress})`
|
||||||
}, { easing: spring({ stiffness: 280, damping: 20 }) });
|
}, { easing: spring({ stiffness: 280, damping: 20 }) });
|
||||||
|
|
||||||
extensionPopup!.classList.remove('hide');
|
|
||||||
} else {
|
} else {
|
||||||
extensionPopup!.style.opacity = '1'
|
extensionPopup!.style.opacity = '1'
|
||||||
extensionPopup!.style.transform = 'scale(1)'
|
extensionPopup!.style.transform = 'scale(1)'
|
||||||
|
extensionPopup!.style.transition = 'opacity 0s linear, transform 0s linear'
|
||||||
}
|
}
|
||||||
|
extensionPopup!.classList.remove('hide');
|
||||||
SettingsClicked = true;
|
SettingsClicked = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user