Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-19 12:48:24 +08:00
parent 397f887b91
commit 33278a74b2
17 changed files with 79 additions and 101 deletions

View File

@@ -964,10 +964,10 @@ class _BorderClipper extends CustomClipper<Rect> {
@override
Rect getClip(Size size) {
return Rect.fromLTWH(
return Rect.fromLTRB(
isLeft ? 0 : size.width / 2,
0,
size.width / 2,
isLeft ? size.width / 2 : size.width,
size.height,
);
}