Skip to content

Commit bcd70ff

Browse files
committed
fix #161: Wrap sprites in Item
1 parent bdfcafa commit bcd70ff

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

src/ProjectPlayer.qml

+17-14
Original file line numberDiff line numberDiff line change
@@ -263,22 +263,25 @@ ProjectScene {
263263
}
264264
}
265265

266-
Repeater {
267-
id: sprites
268-
model: loader.sprites
269-
delegate: renderedSprite
270-
}
266+
Item {
267+
// Sprites are wrapped in Item to ensure monitors appear above them
268+
Repeater {
269+
id: sprites
270+
model: loader.sprites
271+
delegate: renderedSprite
272+
}
271273

272-
Repeater {
273-
id: clones
274-
model: ListModel {}
275-
delegate: renderedSprite
276-
}
274+
Repeater {
275+
id: clones
276+
model: ListModel {}
277+
delegate: renderedSprite
278+
}
277279

278-
Repeater {
279-
id: textBubbles
280-
model: loader.sprites
281-
delegate: renderedTextBubble
280+
Repeater {
281+
id: textBubbles
282+
model: loader.sprites
283+
delegate: renderedTextBubble
284+
}
282285
}
283286

284287
SceneMouseArea {

0 commit comments

Comments
 (0)