mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user