Repository navigation
fix: 状态词字号跟随会话正文与 ⌘± 缩放,修复轨道左右间距不等 - #326
Merged
Merged
Conversation
- 状态词基准字号镜像正文字号:普通 17 / chat-wide 16 / 紧凑浮层 14(与 .ProseMirror CSS 一致),乘 ⌘± 档位倍率,档位变化即时重新量宽 - 量宽、行框高、AppKit 画字统一用同一个已缩放字号;删除 NSView 里 残留的 12pt 旧常量(与 14.5pt 量宽不一致曾使右侧空隙比左侧宽约 10pt) - 三个调用点接上 chatWide / compact 上下文旗标
taekchef
marked this pull request as ready for review
August 22, 2026 07:42
wang-kaopu
pushed a commit
to wang-kaopu/weibei
that referenced
this pull request
Aug 23, 2026
1. 加载动词镜像修正:回答 WebView 恒为 compact 预览(14px),仅 chat-wide 属性抬到 16px。 WroughtMind#326 的镜像把非 chat-wide 当 17pt,窄窗口(WroughtMind#334 起最小宽 520)下内容宽 <620 时 状态词 17pt vs 正文 14px,肉眼明显偏大。改为 chatWide 且非 compact 才 16,否则 14。 2. 完成跳变改缓动:收尾快照与后续 KaTeX/字体异步重测的高度修正,原先瞬间定格 contentHeight,行高跳一下。非流式接受的高度统一走 0.14s easeOut 过渡 (reduce motion 与流式期间保持即时)。
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.
实际改动
会话加载状态词(「正在思考…」+ 朱砂色环绕轨道)三处修正,均在
NotesAgentView.swift:weiBeiTextScale档位倍率,档位变化即时重新量宽,轨道保持等距;动画相位不重置。未做内容
共享文件占用
无(NotesAgentView 非共享核心面;遵守冻结增长守卫:净 +39 行,≤ +50)。
验证
swift build通过swift run WeiBeiSelfCheck通过script/build_and_run.sh run重建打开,状态词出现于任意一次提问等待期,检查左右间隙相等、⌘± 同步缩放Closes user feedback 2026-08-22(状态词轨道左右间距不等 + 字号应与正文一致并跟随 ⌘±)