diff options
author | tpart <tpart120@proton.me> | 2024-08-29 15:28:04 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-08-29 15:28:04 +0200 |
commit | cd18aa57fa0c11bf455132d0c764d1340455eed1 (patch) | |
tree | cd0b4c12fc0097d06dfd0d27031c509e9e5621cb /client/menu/chat/chat_open.tscn | |
parent | 890e7eafa7cb8ce8ad5022013f7f71c74b51e3b4 (diff) | |
download | hurrycurry-cd18aa57fa0c11bf455132d0c764d1340455eed1.tar hurrycurry-cd18aa57fa0c11bf455132d0c764d1340455eed1.tar.bz2 hurrycurry-cd18aa57fa0c11bf455132d0c764d1340455eed1.tar.zst |
Automatically scroll chat to bottom when opened
Diffstat (limited to 'client/menu/chat/chat_open.tscn')
-rw-r--r-- | client/menu/chat/chat_open.tscn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/menu/chat/chat_open.tscn b/client/menu/chat/chat_open.tscn index edd9f679..6150272d 100644 --- a/client/menu/chat/chat_open.tscn +++ b/client/menu/chat/chat_open.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=5 format=3 uid="uid://dbd6k56l4p0ls"] +[gd_scene load_steps=6 format=3 uid="uid://dbd6k56l4p0ls"] [ext_resource type="Script" path="res://menu/chat/chat_open.gd" id="1_dsl4a"] [ext_resource type="Material" uid="uid://beea1pc5nt67r" path="res://menu/theme/dark_blur_material.tres" id="1_isqmk"] [ext_resource type="Script" path="res://menu/blur_setup.gd" id="2_urbd2"] [ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="3_v7xmg"] +[ext_resource type="Script" path="res://menu/scroll_container_custom.gd" id="5_3mths"] [node name="ChatOpen" type="Control"] layout_mode = 3 @@ -38,7 +39,8 @@ material = ExtResource("1_isqmk") layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -script = ExtResource("2_urbd2") +script = ExtResource("5_3mths") +auto_scroll_to_bottom = true [node name="Messages" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/ScrollContainerCustom"] layout_mode = 2 |