mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-02 02:22:06 -04:00
feat(desktop): expose screen var to desktop plugins (#2300)
This commit is contained in:
@@ -407,6 +407,8 @@ Item {
|
|||||||
item.widgetWidth = Qt.binding(() => contentLoader.width);
|
item.widgetWidth = Qt.binding(() => contentLoader.width);
|
||||||
if (item.widgetHeight !== undefined)
|
if (item.widgetHeight !== undefined)
|
||||||
item.widgetHeight = Qt.binding(() => contentLoader.height);
|
item.widgetHeight = Qt.binding(() => contentLoader.height);
|
||||||
|
if (item.screen !== undefined)
|
||||||
|
item.screen = Qt.binding(() => root.screen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user