diff --git a/src/routes/events/[event_id]/(launcher)/menu_launcher_controls.svelte b/src/routes/events/[event_id]/(launcher)/menu_launcher_controls.svelte
index 8f00b79a..9721f910 100644
--- a/src/routes/events/[event_id]/(launcher)/menu_launcher_controls.svelte
+++ b/src/routes/events/[event_id]/(launcher)/menu_launcher_controls.svelte
@@ -18,16 +18,29 @@
* theme mode without hunting through the system menu or requiring admin access.
*/
-import { Moon, Sun, Eye, EyeOff } from '@lucide/svelte';
+import { Moon, Sun, Eye, EyeOff, Columns2, Copy } from '@lucide/svelte';
import { ae_loc } from '$lib/stores/ae_stores';
import { events_loc } from '$lib/stores/ae_events_stores';
+import * as native from '$lib/electron/electron_relay';
interface Props {
log_lvl?: number;
}
let { log_lvl = $bindable(0) }: Props = $props();
+
+let quick_display_mode = $state<'extend' | 'mirror'>('extend');
+
+const is_native_launcher_mode = $derived(
+ !!$ae_loc.is_native && $events_loc.launcher.app_mode === 'native'
+);
+
+async function set_quick_display_mode(mode: 'extend' | 'mirror') {
+ if (!is_native_launcher_mode) return;
+ const res = await native.set_display_layout({ mode });
+ if (res?.success) quick_display_mode = mode;
+}
@@ -152,4 +165,51 @@ let { log_lvl = $bindable(0) }: Props = $props();
{/if}
+
+
+
+
+
+
+
+
+ {#if !is_native_launcher_mode}
+
+ Display toggle shown as an example preview. Active in native app mode in the session room.
+
+ {/if}