Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-31 11:05:30 +08:00
parent b3e2dcf2c5
commit bee04fb2b0
17 changed files with 520 additions and 523 deletions

View File

@@ -195,13 +195,13 @@ abstract final class PageUtils {
: height > width
? const Rational.vertical()
: const Rational.landscape();
Floating().enable(
Floating.enable(
isAuto
? AutoEnable(aspectRatio: aspectRatio)
: EnableManual(aspectRatio: aspectRatio),
);
} else {
Floating().enable(isAuto ? const AutoEnable() : const EnableManual());
Floating.enable(isAuto ? const AutoEnable() : const EnableManual());
}
}