We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b04af80 commit 2a96904Copy full SHA for 2a96904
1 file changed
ScratchCPPGui/ProjectPlayer.qml
@@ -9,6 +9,8 @@ ProjectScene {
9
property alias turboMode: loader.turboMode
10
property alias cloneLimit: loader.cloneLimit
11
property alias spriteFencing: loader.spriteFencing
12
+ signal loaded()
13
+ signal failedToLoad()
14
15
id: root
16
clip: true
@@ -18,6 +20,12 @@ ProjectScene {
18
20
fileName: root.fileName
19
21
stageWidth: parent.width
22
stageHeight: parent.height
23
+ onLoadingFinished: {
24
+ if(loadStatus)
25
+ loaded();
26
+ else
27
+ failedToLoad();
28
+ }
29
}
30
31
RenderedTarget {
0 commit comments