mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 00:33:42 +08:00
disable TextScaler
This commit is contained in:
parent
3c7fc711ad
commit
71eadd86f5
@ -30,6 +30,13 @@ class AppUI extends BaseUI {
|
|||||||
title: "StarCitizen Doctor",
|
title: "StarCitizen Doctor",
|
||||||
restorationScopeId: "Doctor",
|
restorationScopeId: "Doctor",
|
||||||
themeMode: ThemeMode.dark,
|
themeMode: ThemeMode.dark,
|
||||||
|
builder: (context, child) {
|
||||||
|
return MediaQuery(
|
||||||
|
data:
|
||||||
|
MediaQuery.of(context).copyWith(textScaler: TextScaler.noScaling),
|
||||||
|
child: child ?? const SizedBox(),
|
||||||
|
);
|
||||||
|
},
|
||||||
theme: FluentThemeData(
|
theme: FluentThemeData(
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
fontFamily: "SourceHanSansCN-Regular",
|
fontFamily: "SourceHanSansCN-Regular",
|
||||||
|
Loading…
Reference in New Issue
Block a user