Update audio track volume slider
This commit is contained in:
@@ -1,10 +1,22 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dlb5xpe1t8rrk"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dlb5xpe1t8rrk"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c3kajrpp2ux7" path="res://Controls/Track.tscn" id="1_envsv"]
|
||||
[ext_resource type="Texture2D" uid="uid://cc0dy71y8shcx" path="res://Assets/Icons/record.svg" id="2_iwhga"]
|
||||
[ext_resource type="Texture2D" uid="uid://c8napjmkltpr" path="res://Assets/Icons/slider_grabber.svg" id="3_y81l0"]
|
||||
|
||||
[sub_resource type="StyleBoxLine" id="StyleBoxLine_ixeae"]
|
||||
color = Color(0.1, 0.1, 0.1, 1)
|
||||
thickness = 8
|
||||
|
||||
[sub_resource type="StyleBoxLine" id="StyleBoxLine_vrgqc"]
|
||||
color = Color(0.5, 0.5, 0.5, 1)
|
||||
thickness = 8
|
||||
|
||||
[node name="Track" instance=ExtResource("1_envsv")]
|
||||
|
||||
[node name="HBoxContainer" parent="PanelContainer/HBoxContainer/Body" index="0"]
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="MuteSolo" type="VBoxContainer" parent="PanelContainer/HBoxContainer/Body/HBoxContainer" index="0"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
@@ -32,5 +44,10 @@ icon_alignment = 1
|
||||
|
||||
[node name="VolumeSlider" type="HSlider" parent="PanelContainer/HBoxContainer/Body/HBoxContainer/NameIconControls" index="1"]
|
||||
layout_mode = 2
|
||||
theme_override_icons/grabber = ExtResource("3_y81l0")
|
||||
theme_override_icons/grabber_highlight = ExtResource("3_y81l0")
|
||||
theme_override_styles/slider = SubResource("StyleBoxLine_ixeae")
|
||||
theme_override_styles/grabber_area = SubResource("StyleBoxLine_vrgqc")
|
||||
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxLine_vrgqc")
|
||||
min_value = -80.0
|
||||
max_value = 0.0
|
||||
|
||||
Reference in New Issue
Block a user