This commit is contained in:
IgorTimofeev 2023-10-18 18:38:04 +03:00
parent 7c2680a0d2
commit 04c99ffeb0

View File

@ -54,8 +54,7 @@ class SoundSettingsTab extends SettingsTab {
Settings.get.volumeInterface = _ Settings.get.volumeInterface = _
) )
children :+= new Checkbox("Use positional sound", children :+= new Checkbox("Use positional sound", Settings.get.soundPositional) {
initialValue = Settings.get.soundPositional) {
override def minimumSize: Size2D = Size2D(512, 24) override def minimumSize: Size2D = Size2D(512, 24)
override def onValueChanged(value: Boolean): Unit = { override def onValueChanged(value: Boolean): Unit = {