mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-29 14:37:47 -04:00
feat(desktop): expose screen var to desktop plugins (#2300)
This commit is contained in:
1 parent
aeb3fdd637
commit
919b09fc96
1 file changed
+2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user