mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-18 03:43:10 +10:00
Fixed Player Bar Border
This commit is contained in:
@@ -5,5 +5,5 @@
|
|||||||
[data-test="footer-player"] {
|
[data-test="footer-player"] {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin) !important;
|
border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin, rgba(255, 255, 255, 0.1)) !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,8 +116,8 @@ const applyFloatingPlayerBar = (): void => {
|
|||||||
// Alias for settings callback
|
// Alias for settings callback
|
||||||
const updateRadiantLyricsPlayerBarTint = applyFloatingPlayerBar;
|
const updateRadiantLyricsPlayerBarTint = applyFloatingPlayerBar;
|
||||||
|
|
||||||
// Apply Tint and Observe in case doesn't exist yet (ik this isnt the best way to do it but.. make a PR i dare ya!)
|
// Apply floating player bar + tint on load
|
||||||
applyPlayerBarTintToElement();
|
applyFloatingPlayerBar();
|
||||||
observe<HTMLElement>(unloads, '[data-test="footer-player"]', () => {
|
observe<HTMLElement>(unloads, '[data-test="footer-player"]', () => {
|
||||||
applyPlayerBarTintToElement();
|
applyPlayerBarTintToElement();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user