1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 21:45:38 -05:00

use variants for multi display volume popup/toast/notification

This commit is contained in:
bbedward
2025-07-26 16:24:35 -04:00
parent 01a94a17de
commit 1472f00f4b
4 changed files with 31 additions and 9 deletions

View File

@@ -5,6 +5,9 @@ import qs.Services
QtObject {
id: manager
property var modelData
property int topMargin: 0
property int baseNotificationHeight: 120
property int maxTargetNotifications: 3
@@ -84,7 +87,8 @@ QtObject {
const win = popupComponent.createObject(null, {
notificationData: wrapper,
notificationId: notificationId,
screenY: topMargin
screenY: topMargin,
screen: manager.modelData
});
if (!win) {