|
@@ -11,12 +11,12 @@ import {
|
|
// layout
|
|
// layout
|
|
addWatermark, removeUpgradeTab,
|
|
addWatermark, removeUpgradeTab,
|
|
initRemShareTrackParam, fixSpacing,
|
|
initRemShareTrackParam, fixSpacing,
|
|
- addAboveQueueBtns, initThumbnailOverlay,
|
|
|
|
- initHideCursorOnIdle, fixHdrIssues,
|
|
|
|
|
|
+ initThumbnailOverlay, initHideCursorOnIdle,
|
|
|
|
+ fixHdrIssues,
|
|
// volume
|
|
// volume
|
|
initVolumeFeatures,
|
|
initVolumeFeatures,
|
|
// song lists
|
|
// song lists
|
|
- initQueueButtons,
|
|
|
|
|
|
+ initQueueButtons, initAboveQueueBtns,
|
|
// behavior
|
|
// behavior
|
|
initBeforeUnloadHook, disableBeforeUnload,
|
|
initBeforeUnloadHook, disableBeforeUnload,
|
|
initAutoCloseToasts, initRememberSongTime,
|
|
initAutoCloseToasts, initRememberSongTime,
|
|
@@ -161,9 +161,6 @@ async function onDomLoad() {
|
|
if(features.fixSpacing)
|
|
if(features.fixSpacing)
|
|
ftInit.push(fixSpacing());
|
|
ftInit.push(fixSpacing());
|
|
|
|
|
|
- if(features.scrollToActiveSongBtn)
|
|
|
|
- ftInit.push(addAboveQueueBtns());
|
|
|
|
-
|
|
|
|
if(features.removeUpgradeTab)
|
|
if(features.removeUpgradeTab)
|
|
ftInit.push(removeUpgradeTab());
|
|
ftInit.push(removeUpgradeTab());
|
|
|
|
|
|
@@ -184,6 +181,9 @@ async function onDomLoad() {
|
|
if(features.lyricsQueueButton || features.deleteFromQueueButton)
|
|
if(features.lyricsQueueButton || features.deleteFromQueueButton)
|
|
ftInit.push(initQueueButtons());
|
|
ftInit.push(initQueueButtons());
|
|
|
|
|
|
|
|
+ if(features.scrollToActiveSongBtn)
|
|
|
|
+ ftInit.push(initAboveQueueBtns());
|
|
|
|
+
|
|
//#region (ytm) behavior
|
|
//#region (ytm) behavior
|
|
|
|
|
|
if(features.closeToastsTimeout > 0)
|
|
if(features.closeToastsTimeout > 0)
|