Skip to content

Commit f5f4610

Browse files
committed
Handle mouse press and release events in ProjectPlayer
1 parent 7289801 commit f5f4610

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ScratchCPPGui/ProjectPlayer.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,7 @@ ProjectScene {
116116
anchors.fill: parent
117117
hoverEnabled: true
118118
onPositionChanged: root.handleMouseMove(mouseX, mouseY)
119+
onPressed: root.handleMousePress()
120+
onReleased: root.handleMouseRelease()
119121
}
120122
}

0 commit comments

Comments
 (0)