mirror of
https://github.com/RDCN-Community-Developers/rdkt.git
synced 2026-09-04 17:25:33 +08:00
Changed max volume in SetCountingSoundEvent to 200.
This commit is contained in:
@@ -56,7 +56,7 @@ public class SetCountingSoundEvent private constructor(
|
||||
*/
|
||||
public var volume: Int = 100
|
||||
set(value) {
|
||||
require(value in 0..100) { "Volume must be between 0 and 100." }
|
||||
require(value in 0..200) { "Volume must be between 0 and 200." }
|
||||
field = value
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user