From 51e567ffb1dead3e1d8d50c4607a4abb10976bd9 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 26 Feb 2024 10:08:33 +0100 Subject: [PATCH] Changed mouse filter on chat window --- client/ui/chat/Chat.gd | 2 +- client/ui/chat/Chat.tscn | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/ui/chat/Chat.gd b/client/ui/chat/Chat.gd index aac51c0..caf00dd 100644 --- a/client/ui/chat/Chat.gd +++ b/client/ui/chat/Chat.gd @@ -4,4 +4,4 @@ extends VBoxContainer signal message_submitted(message: String) func add_message(message: String): - %Messages.append_text(message + "\n") \ No newline at end of file + %Messages.append_text("%s\n" % message) \ No newline at end of file diff --git a/client/ui/chat/Chat.tscn b/client/ui/chat/Chat.tscn index 1abaf42..ccfd5bf 100644 --- a/client/ui/chat/Chat.tscn +++ b/client/ui/chat/Chat.tscn @@ -13,11 +13,10 @@ script = ExtResource("1_sxxey") unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 -focus_mode = 2 +mouse_filter = 1 bbcode_enabled = true scroll_active = false scroll_following = true -context_menu_enabled = true selection_enabled = true [node name="Input" type="LineEdit" parent="."]