From ef233a66da97be15f765b5a68ad9b197e838f038 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Fri, 24 Jul 2026 18:25:30 +0200 Subject: [PATCH] Remove passthrough item from the top bar --- client/scenes/lobby_gui.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client/scenes/lobby_gui.cpp b/client/scenes/lobby_gui.cpp index 92f19bf5..b71ed7ce 100644 --- a/client/scenes/lobby_gui.cpp +++ b/client/scenes/lobby_gui.cpp @@ -1116,16 +1116,6 @@ std::vector> scenes::lobby::draw_gui(XrTi }; toggle_item(ICON_FA_MICROPHONE, _S("Microphone"), feature::microphone); - top_items.push_back({side, [this] { - const float s = ImGui::GetFrameHeight() * wivrn::ui::metrics::control_height; - auto & config = application::get_config(); - if (wivrn::ui::icon_button(ICON_FA_EYE_SLASH, {s, s}, config.passthrough_enabled, _S("Passthrough"))) - { - config.passthrough_enabled = not config.passthrough_enabled; - setup_passthrough(); - config.save(); - } - }}); if (system.hand_tracking_supported()) toggle_item(ICON_FA_HAND, _S("Hand tracking"), feature::hand_tracking); if (application::get_eye_gaze_supported())