fixed text overflowing at the bottom by always setting the scroll value to be the max
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cmyf6lhbn1x6p"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://djt7surq1h8bt" path="res://Assets/Model/Interior/Security_Office/security office.UwU.glb" id="1_o43w0"]
|
||||
[ext_resource type="PackedScene" uid="uid://b56h0sioa3yax" path="res://Assets/Model/Interior/Security_Office/security office.UwU.glb" id="1_o43w0"]
|
||||
|
||||
[node name="security office_UwU" instance=ExtResource("1_o43w0")]
|
||||
|
||||
Reference in New Issue
Block a user