From e0f9bd678054bcb9c25b53a1eb1281bb0fdba199 Mon Sep 17 00:00:00 2001 From: ProtectCookies <1439080921@qq.com> Date: Thu, 3 Sep 2026 11:45:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(desktop):=20=E9=A1=B5=E9=9D=A2=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=A0=8F=E4=B8=8D=E5=86=8D=E8=A2=AB=E5=BD=93=E4=BD=9C?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=A0=8F=E6=8B=96=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .actionRegion 由 drag 改为 no-drag,修复顶部时间条、刷新按钮可拖动窗口、双击触发最大化的问题。 --- apps/desktop/src/shell/AppLayout.module.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/shell/AppLayout.module.scss b/apps/desktop/src/shell/AppLayout.module.scss index 9c4198b..b7b9f22 100644 --- a/apps/desktop/src/shell/AppLayout.module.scss +++ b/apps/desktop/src/shell/AppLayout.module.scss @@ -151,7 +151,11 @@ -ms-user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; - -webkit-app-region: drag; + // Page actions (e.g. the overview time-range bar and the floating refresh + // button) must not act as a window drag handle; the dedicated drag layer in + // AppHeader owns window dragging. Otherwise these controls get dragged and + // double-click maximizes the window. + -webkit-app-region: no-drag; } .actions {