Skip to content

Commit b97c49f

Browse files
committed
ProjectPlayer: Set background color
1 parent e506d01 commit b97c49f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ScratchCPPGui/ProjectPlayer.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ ProjectScene {
5353
loader.stop();
5454
}
5555

56-
Item {
56+
Rectangle {
5757
anchors.left: parent.left
5858
anchors.top: parent.top
5959
width: stageWidth * stageScale
6060
height: stageHeight * stageScale
61+
color: priv.loading ? "transparent" : "white"
6162
clip: true
6263

6364
RenderedTarget {

0 commit comments

Comments
 (0)