fix: # 3479, set all fontLigatures to false

This commit is contained in:
wonfen
2025-05-11 23:05:47 +08:00
parent 10576780ed
commit d587ed09a5
5 changed files with 6 additions and 4 deletions

View File

@@ -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)}

View File

@@ -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)}

View File

@@ -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)}

View File

@@ -1025,7 +1025,7 @@ export const DnsViewer = forwardRef<DialogRef>((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}