From e3b813f6948af1bc3bbc640c3aa04c783aeed02e Mon Sep 17 00:00:00 2001 From: tpart Date: Thu, 19 Sep 2024 13:33:12 +0200 Subject: Remove legacy chat bubble code --- client/player/chat_bubble.gd | 1 - client/player/chat_bubble.tscn | 12 +----------- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'client') diff --git a/client/player/chat_bubble.gd b/client/player/chat_bubble.gd index d71ce5b7..dd0682f7 100644 --- a/client/player/chat_bubble.gd +++ b/client/player/chat_bubble.gd @@ -18,7 +18,6 @@ class_name ChatBubble extends MeshInstance3D @onready var label: Label = $SubViewport/ChatMessage/Label -@onready var input: LineEdit = $LineEdit var editing := false diff --git a/client/player/chat_bubble.tscn b/client/player/chat_bubble.tscn index 6124d8b2..fbe4f372 100644 --- a/client/player/chat_bubble.tscn +++ b/client/player/chat_bubble.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://cgi6vcfrnqp0i"] +[gd_scene load_steps=6 format=3 uid="uid://cgi6vcfrnqp0i"] [ext_resource type="Script" path="res://player/chat_bubble.gd" id="1_4v1cx"] [ext_resource type="PackedScene" uid="uid://5rcfoyuiwuya" path="res://player/chat_message.tscn" id="2_lyyq0"] @@ -17,8 +17,6 @@ shading_mode = 0 albedo_texture = SubResource("ViewportTexture_mko8a") billboard_mode = 1 -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_byl28"] - [node name="ChatBubble" type="MeshInstance3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) visible = false @@ -32,11 +30,3 @@ transparent_bg = true size = Vector2i(512, 128) [node name="ChatMessage" parent="SubViewport" instance=ExtResource("2_lyyq0")] - -[node name="LineEdit" type="LineEdit" parent="."] -modulate = Color(1, 1, 1, 0) -offset_right = 67.0625 -offset_bottom = 31.0 -theme_override_styles/focus = SubResource("StyleBoxEmpty_byl28") -theme_override_styles/read_only = SubResource("StyleBoxEmpty_byl28") -theme_override_styles/normal = SubResource("StyleBoxEmpty_byl28") -- cgit v1.2.3-70-g09d2