fix menu position

fix sc

opt ui

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-10 12:54:35 +08:00
parent f06d0605ce
commit 34a839d9e2
13 changed files with 102 additions and 68 deletions

View File

@@ -305,10 +305,10 @@ class MyApp extends StatelessWidget {
data: mediaQuery.copyWith(
// Tell child the logical size it should layout to
size: scaledSize,
textScaler: textScaler,
padding: mediaQuery.padding / uiScale,
viewPadding: mediaQuery.viewPadding / uiScale,
viewInsets: mediaQuery.viewInsets / uiScale,
textScaler: textScaler,
),
// Use OverflowBox to let child layout to scaledSize,
// then FittedBox scales it to fit actualSize