mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-10-15 07:53:13 +11:00
Fixed Player Bar Border
This commit is contained in:
1 parent
7ad4bbb332
commit
7748f2fe08
2 files changed
+3
-3
No files matched your search
@@ -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