forked from Shinonome/dots-hyprland
remove useless
This commit is contained in:
@@ -140,7 +140,6 @@ const CoverArt = ({ player, ...rest }) => Box({
|
||||
attribute: {
|
||||
'updateCover': (self) => {
|
||||
const player = Mpris.getPlayer();
|
||||
console.log('cover!');
|
||||
|
||||
// Player closed
|
||||
// Note that cover path still remains, so we're checking title
|
||||
@@ -356,7 +355,6 @@ export default () => Revealer({
|
||||
let foundPlayer = false;
|
||||
Mpris.players.forEach((player, i) => {
|
||||
if (isRealPlayer(player)) {
|
||||
console.log('Found player', player);
|
||||
foundPlayer = true;
|
||||
box.children.forEach(child => {
|
||||
child.destroy();
|
||||
@@ -368,7 +366,6 @@ export default () => Revealer({
|
||||
});
|
||||
|
||||
if (!foundPlayer) {
|
||||
console.log('No players found');
|
||||
const children = box.get_children();
|
||||
for (let i = 0; i < children.length; i++) {
|
||||
const child = children[i];
|
||||
@@ -394,7 +391,6 @@ export default () => Revealer({
|
||||
// let foundPlayer = false;
|
||||
// Mpris.players.forEach((player, i) => {
|
||||
// if (isRealPlayer(player)) {
|
||||
// console.log('Found player', player);
|
||||
// foundPlayer = true;
|
||||
// box.children.forEach(child => {
|
||||
// child.destroy();
|
||||
@@ -406,7 +402,6 @@ export default () => Revealer({
|
||||
// });
|
||||
|
||||
// if (!foundPlayer) {
|
||||
// console.log('No players found');
|
||||
// const children = box.get_children();
|
||||
// for (let i = 0; i < children.length; i++) {
|
||||
// const child = children[i];
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
CalculationResultButton, CustomCommandButton, DirectoryButton,
|
||||
DesktopEntryButton, ExecuteCommandButton, SearchButton
|
||||
} from './searchbuttons.js';
|
||||
import { enableClickthrough } from '../../lib/roundedcorner.js';
|
||||
|
||||
// Add math funcs
|
||||
const { abs, sin, cos, tan, cot, asin, acos, atan, acot } = Math;
|
||||
|
||||
Reference in New Issue
Block a user