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

This commit is contained in:
Kangheng Liu authored and GitHub committed 2026-04-28 11:45:34 -04:00
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);
}
}