Added mute button and volume slider to text log
This commit is contained in:
parent
125e1e5edc
commit
c76c9f7268
5 changed files with 154 additions and 15 deletions
|
|
@ -29,7 +29,9 @@ func _ready():
|
|||
|
||||
func _process(delta):
|
||||
if visible:
|
||||
set_scroll_vertical(scroll_value + Input.get_vector("ui_left", "ui_right", "ui_up", "ui_down").y * delta * 1000)
|
||||
if not %MuteButton.has_focus() and not %VolumeSlider.has_focus():
|
||||
#print(Input.get_vector("ui_left", "ui_right", "ui_up", "ui_down", 0.1))
|
||||
set_scroll_vertical(scroll_value + Input.get_axis("ui_up", "ui_down") * delta * 1000)
|
||||
|
||||
func add_line(speaker_text: String, speaker_name: String = ""):
|
||||
clean_log()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue