Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

fix(electron): adjust nodrag region in navigation bar (#11620)

Inneiabf57c59a08e
diff --git a/src/features/Electron/titlebar/NavigationBar.tsx b/src/features/Electron/titlebar/NavigationBar.tsx
index 5ea6ac908e1..babf729f00b 100644
--- a/src/features/Electron/titlebar/NavigationBar.tsx
+++ b/src/features/Electron/titlebar/NavigationBar.tsx
@@ -53,13 +53,12 @@ const NavigationBar = memo(() => {
return (
<Flexbox
align="center"
- className={electronStylish.nodrag}
data-width={leftPanelWidth}
horizontal
justify="end"
style={{ width: `${leftPanelWidth - 12}px` }}
>
- <Flexbox align="center" gap={2} horizontal>
+ <Flexbox align="center" className={electronStylish.nodrag} gap={2} horizontal>
<ActionIcon disabled={!canGoBack} icon={ArrowLeft} onClick={goBack} size="small" />
<ActionIcon disabled={!canGoForward} icon={ArrowRight} onClick={goForward} size="small" />
<Popover