NotificationPopup: commented out debug console.log
This commit is contained in:
parent
bf4bc1bee2
commit
4937382001
1 changed files with 7 additions and 7 deletions
|
|
@ -12,12 +12,12 @@ Item {
|
||||||
// Get list of available monitors/screens
|
// Get list of available monitors/screens
|
||||||
property var monitors: Quickshell.screens || []
|
property var monitors: Quickshell.screens || []
|
||||||
|
|
||||||
Component.onCompleted: {
|
// Component.onCompleted: {
|
||||||
console.log("[NotificationPopup] Initialized with", monitors.length, "monitors");
|
// console.log("[NotificationPopup] Initialized with", monitors.length, "monitors");
|
||||||
for (let i = 0; i < monitors.length; i++) {
|
// for (let i = 0; i < monitors.length; i++) {
|
||||||
console.log("[NotificationPopup] Monitor", i, ":", monitors[i].name);
|
// console.log("[NotificationPopup] Monitor", i, ":", monitors[i].name);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Global visibility state for all notification popups
|
// Global visibility state for all notification popups
|
||||||
property bool notificationsVisible: true
|
property bool notificationsVisible: true
|
||||||
|
|
@ -72,7 +72,7 @@ Item {
|
||||||
let shouldShow = notificationMonitors.length === 0 ||
|
let shouldShow = notificationMonitors.length === 0 ||
|
||||||
notificationMonitors.includes("*") ||
|
notificationMonitors.includes("*") ||
|
||||||
notificationMonitors.includes(currentScreenName);
|
notificationMonitors.includes(currentScreenName);
|
||||||
console.log("[NotificationPopup] Monitor", currentScreenName, "should show:", shouldShow, "monitors:", JSON.stringify(notificationMonitors));
|
// console.log("[NotificationPopup] Monitor", currentScreenName, "should show:", shouldShow, "monitors:", JSON.stringify(notificationMonitors));
|
||||||
return shouldShow;
|
return shouldShow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue