Commit 74ce6d29 authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

colorchooser, add an audio effect on color change

parent 1e305aa5
......@@ -138,6 +138,7 @@ Image {
currentStep = initialStep + (point1.x - startX) / (20 * ApplicationInfo.ratio)
currentStep = Math.min(currentStep, maxSteps)
currentStep = Math.max(currentStep, 0)
activity.audioEffects.play('qrc:/gcompris/src/core/resource/sounds/scroll.wav')
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment