1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-30 01:22:06 -04:00

feat(desktop): expose screen var to desktop plugins (#2300)

This commit is contained in:
Kangheng Liu
2026-04-28 11:45:34 -04:00
committed by GitHub
parent aeb3fdd637
commit 919b09fc96

View File

@@ -407,6 +407,8 @@ Item {
item.widgetWidth = Qt.binding(() => contentLoader.width);
if (item.widgetHeight !== undefined)
item.widgetHeight = Qt.binding(() => contentLoader.height);
if (item.screen !== undefined)
item.screen = Qt.binding(() => root.screen);
}
}