Repository navigation
Conversation
added 6 commits
October 12, 2026 17:19
- NotchHotspotController: listen-only CGEventTap 监听悬停/单击刘海热区(由 safeAreaInsets + auxiliaryTop*Area 推导),idle→pending→visible 状态机,点击面板外/Esc/移出热区∪面板/切 Space/睡眠/屏幕变化收起,收起后重弹抑制 - NotchPanel + NotchPanelView/NotchCalendarViewModel: 从刘海下方滑入的固定深色 HUD 面板,月视图日历(今日高亮/日程打点/翻月/点选日期/当日日程列表),未授权引导 - CalendarService: EventKit 门面(macOS 14 全量授权,后台线程查询) - 设置新增「灵动岛」标签页(总开关/悬停延时/显示内容),pbxproj 加 NSCalendarsFullAccessUsageDescription
- 面板顶边改为贴刘海下边缘(原顶在屏幕最上被刘海遮挡) - 新增 notchPanelOpacity 设置(30–100%,默认 80),设置页滑块调节,应用为磨砂背景 alphaValue - 内容模块全关时面板仍弹出,显示「暂无显示内容 + 添加显示内容」按钮,点击打开设置并跳到灵动岛标签(zeroflowOpenNotchSettings 通知 + SettingsView.pendingTab) - 面板宽度 360→560,日历列固定 332 保持原比例,右侧空间预留 - 设置页标签 Picker 包横向 ScrollView 修复溢出
- present 动画改用 animator().setFrame(_:display:)。原 animator().setFrameOrigin 非 NSWindow 可动画属性,静默无效导致面板停在起始位置(比刘海下缘高 12pt),DEV-016 记录 - 单内容模块时日历/空态在面板内水平居中;后续多模块并排整体居中 - 设置窗口改为左侧纵向标签栏 + 右侧详情(仿系统设置),窗口加宽至 860,标签栏溢出问题随之消除
- 新增 notchBlurStrength(0-100,默认 50):磨砂底上叠加面板背后区域的 SC 快照(CIGaussianBlur,半径=强度*0.5pt*像素比),强度控制叠加层透明度 - 快照 filter 排除面板自身窗口防自拍;SCShareableContent 缓存 30s; 无屏幕录制权限/强度 0 时仅显示磨砂底 - 设置页「面板」区新增模糊强度滑块,不透明度语义不变
- 背景用 NSGlassEffectView 承载内容,圆角 16pt≈Mac 屏幕圆角(旧系统回退 NSVisualEffectView 磨砂,同样圆角;修复快照叠层导致的直角) - 不透明度设置改控玻璃染色深浅(直接 alphaValue 会连内容一起透明); 移除快照+高斯模糊机制与模糊强度设置项 - Translations 更新 footer 文案;PITFALLS_DEV DEV-017 改写为玻璃边界
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.