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