mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 11:51:47 +00:00
chore(ambient-mode): remove console.log
This commit is contained in:
@ -239,7 +239,6 @@ export default createPlugin({
|
|||||||
cancelAnimationFrame(lastEffectWorkId);
|
cancelAnimationFrame(lastEffectWorkId);
|
||||||
|
|
||||||
lastEffectWorkId = requestAnimationFrame(() => {
|
lastEffectWorkId = requestAnimationFrame(() => {
|
||||||
// console.log('context', context);
|
|
||||||
if (!context) return;
|
if (!context) return;
|
||||||
|
|
||||||
const width = this.qualityRatio;
|
const width = this.qualityRatio;
|
||||||
@ -350,7 +349,6 @@ export default createPlugin({
|
|||||||
const isVideoMode = () => {
|
const isVideoMode = () => {
|
||||||
const songVideo = document.querySelector<HTMLDivElement>('#song-video');
|
const songVideo = document.querySelector<HTMLDivElement>('#song-video');
|
||||||
if (!songVideo) return false;
|
if (!songVideo) return false;
|
||||||
console.log(getComputedStyle(songVideo).display);
|
|
||||||
|
|
||||||
return getComputedStyle(songVideo).display !== 'none';
|
return getComputedStyle(songVideo).display !== 'none';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user