From ba590ea5f8e8ff5bc34cb61ab9958dd4baffe75b Mon Sep 17 00:00:00 2001
From: Felix Riehm <mail@felixriehm.de>
Date: Wed, 24 Jan 2024 14:15:15 +0100
Subject: [PATCH] change condition for mobile navigation

---
 web/src/canvas/canvas.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/src/canvas/canvas.ts b/web/src/canvas/canvas.ts
index df107ce..835c9c3 100644
--- a/web/src/canvas/canvas.ts
+++ b/web/src/canvas/canvas.ts
@@ -103,7 +103,7 @@ export class Canvas {
 
         // needs to be added after the carousel transition because the transition layer spans over the entire screen
         // which captures mouse clicks that otherwise would not arrive at the navigation buttons
-        if (this.isMobileScreen) {
+        if (this.isMobileScreen && !this.settings.embedded_mode) {
             this.navigation = new Navigation(this)
         }
 
-- 
GitLab