chore(ambient-mode): remove console.log

This commit is contained in:
Su-Yong
2023-12-31 02:28:31 +09:00
parent c3dd20cabd
commit df4d2d6b72

View File

@ -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';
}; };