We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b97c49f commit 97febd6Copy full SHA for 97febd6
ScratchCPPGui/ProjectPlayer.qml
@@ -17,6 +17,7 @@ ProjectScene {
17
readonly property bool loading: priv.loading
18
readonly property int downloadedAssets: loader.downloadedAssets
19
readonly property int assetCount: loader.assetCount
20
+ readonly property Rectangle stageRect: contentRect
21
signal loaded()
22
signal failedToLoad()
23
@@ -54,6 +55,7 @@ ProjectScene {
54
55
}
56
57
Rectangle {
58
+ id: contentRect
59
anchors.left: parent.left
60
anchors.top: parent.top
61
width: stageWidth * stageScale
0 commit comments