Skip to content

Commit

Permalink
feat: adjust option sound range
Browse files Browse the repository at this point in the history
  • Loading branch information
myin142 committed May 21, 2023
1 parent 1430f07 commit 4527793
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/menu-system/AudioSlider.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ class_name AudioSlider
extends HSlider

@export var bus_name := "Master"
@export var vol_range = 40
@export var vol_offset = 5

var master_id
var vol_range = 60
var vol_offset = 5

func _ready():
master_id = AudioServer.get_bus_index(bus_name)
Expand Down
1 change: 1 addition & 0 deletions src/menu/Options.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
script = ExtResource("1")
vol_offset = 0

[node name="Control" type="Control" parent="CenterContainer/VBoxContainer/Options"]
custom_minimum_size = Vector2(0, 10)
Expand Down

0 comments on commit 4527793

Please sign in to comment.