From 26001807368b3ddc791b226c94c179edf444c56b Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Wed, 13 Nov 2024 00:40:58 +0200 Subject: [PATCH] Remove the Recorder from the Web version It's not working anyway, and I'm not sure if there is a way to make it work, at least with a good and user-friendly way. If we find a way we could re-add it in the future. --- src/UI/Recorder/Recorder.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/UI/Recorder/Recorder.gd b/src/UI/Recorder/Recorder.gd index 7b8e84f68..9009c2bba 100644 --- a/src/UI/Recorder/Recorder.gd +++ b/src/UI/Recorder/Recorder.gd @@ -85,6 +85,9 @@ class Recorder: func _ready() -> void: + if OS.get_name() == "Web": + ExtensionsApi.panel.remove_node_from_tab.call_deferred(self) + return Global.project_switched.connect(_on_project_switched) # Make a recordings folder if there isn't one chosen_dir = Global.home_data_directory.path_join("Recordings")