fixed text overflowing at the bottom by always setting the scroll value to be the max

This commit is contained in:
Brazly
2026-01-18 13:01:28 +00:00
parent 0247e53de7
commit e1a302ff24
3 changed files with 12 additions and 11 deletions

View File

@@ -215,7 +215,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0478516, 0.229821, 0.058227
shape = SubResource("BoxShape3D_nmbs0")
[node name="Sprite3D" type="Sprite3D" parent="Interactables/PC"]
transform = Transform3D(0.024902493, 0.0022058422, 0, -0.0022058422, 0.024902493, 0, 0, 0, 0.024999999, 0.053893626, 0.2870214, 0.041617036)
transform = Transform3D(0.024902493, 0.0022058422, 0, -0.0022058422, 0.024902493, 0, 0, 0, 0.024999999, 0.053893626, 0.32362998, 0.038876176)
layers = 2
flip_h = true
axis = 0
@@ -223,7 +223,7 @@ texture = SubResource("ViewportTexture_vwrhx")
[node name="SubViewport" type="SubViewport" parent="Interactables/PC/Sprite3D" node_paths=PackedStringArray("terminalLine")]
transparent_bg = true
size = Vector2i(1830, 1680)
size = Vector2i(1830, 1400)
script = ExtResource("10_gba58")
terminalLine = NodePath("MarginContainer/ScrollContainer/VBoxContainer/Label")
@@ -236,6 +236,7 @@ grow_vertical = 2
[node name="ScrollContainer" type="ScrollContainer" parent="Interactables/PC/Sprite3D/SubViewport/MarginContainer"]
layout_mode = 2
vertical_scroll_mode = 3
[node name="VBoxContainer" type="VBoxContainer" parent="Interactables/PC/Sprite3D/SubViewport/MarginContainer/ScrollContainer"]
layout_mode = 2