diff --git a/UPDATELOG.md b/UPDATELOG.md index b8603978..9b9bdc07 100644 --- a/UPDATELOG.md +++ b/UPDATELOG.md @@ -19,6 +19,7 @@ - Macos TUN 默认无效网卡名称 - 托盘更改订阅后 UI 不同步的问题 - 修复提权漏洞,改用带认证的 IPC 通信(后续还可以加强完善认证密钥创建和管理机制) + - 编辑器中连字符问题 #### 新增了: - Mihomo(Meta)内核升级至 1.19.6 @@ -36,6 +37,7 @@ - 添加网络管理器以优化网络请求处理,防止资源竞争导致的启动时 UI 卡死 - 更新依赖,替换弃用元素 - 首页当前节点增加排序功能 + - DNS 覆写下增加 Hosts 设置功能 #### 优化了: - 系统代理 Bypass 设置 diff --git a/src/components/profile/groups-editor-viewer.tsx b/src/components/profile/groups-editor-viewer.tsx index d6028515..4f6e028f 100644 --- a/src/components/profile/groups-editor-viewer.tsx +++ b/src/components/profile/groups-editor-viewer.tsx @@ -898,7 +898,7 @@ export const GroupsEditorViewer = (props: Props) => { fontFamily: `Fira Code, JetBrains Mono, Roboto Mono, "Source Code Pro", Consolas, Menlo, Monaco, monospace, "Courier New", "Apple Color Emoji"${ getSystem() === "windows" ? ", twemoji mozilla" : "" }`, - fontLigatures: true, // 连字符 + fontLigatures: false, // 连字符 smoothScrolling: true, // 平滑滚动 }} onChange={(value) => setCurrData(value)} diff --git a/src/components/profile/proxies-editor-viewer.tsx b/src/components/profile/proxies-editor-viewer.tsx index 7aca31e4..7ce96829 100644 --- a/src/components/profile/proxies-editor-viewer.tsx +++ b/src/components/profile/proxies-editor-viewer.tsx @@ -434,7 +434,7 @@ export const ProxiesEditorViewer = (props: Props) => { fontFamily: `Fira Code, JetBrains Mono, Roboto Mono, "Source Code Pro", Consolas, Menlo, Monaco, monospace, "Courier New", "Apple Color Emoji"${ getSystem() === "windows" ? ", twemoji mozilla" : "" }`, - fontLigatures: true, // 连字符 + fontLigatures: false, // 连字符 smoothScrolling: true, // 平滑滚动 }} onChange={(value) => setCurrData(value)} diff --git a/src/components/profile/rules-editor-viewer.tsx b/src/components/profile/rules-editor-viewer.tsx index 514e612e..3b395419 100644 --- a/src/components/profile/rules-editor-viewer.tsx +++ b/src/components/profile/rules-editor-viewer.tsx @@ -704,7 +704,7 @@ export const RulesEditorViewer = (props: Props) => { fontFamily: `Fira Code, JetBrains Mono, Roboto Mono, "Source Code Pro", Consolas, Menlo, Monaco, monospace, "Courier New", "Apple Color Emoji"${ getSystem() === "windows" ? ", twemoji mozilla" : "" }`, - fontLigatures: true, // 连字符 + fontLigatures: false, // 连字符 smoothScrolling: true, // 平滑滚动 }} onChange={(value) => setCurrData(value)} diff --git a/src/components/setting/mods/dns-viewer.tsx b/src/components/setting/mods/dns-viewer.tsx index cdd9bc3a..9c3725cd 100644 --- a/src/components/setting/mods/dns-viewer.tsx +++ b/src/components/setting/mods/dns-viewer.tsx @@ -1025,7 +1025,7 @@ export const DnsViewer = forwardRef((props, ref) => { fontFamily: `Fira Code, JetBrains Mono, Roboto Mono, "Source Code Pro", Consolas, Menlo, Monaco, monospace, "Courier New", "Apple Color Emoji"${ getSystem() === "windows" ? ", twemoji mozilla" : "" }`, - fontLigatures: true, + fontLigatures: false, smoothScrolling: true, }} onChange={handleYamlChange}